Don't drop face tracking packets

This commit is contained in:
Patrick Nicolas
2026-02-03 08:02:45 +01:00
parent c693993748
commit c0b78c1ec4
+1 -1
View File
@@ -581,7 +581,7 @@ void scenes::stream::tracking()
packets.resize(std::max(packets.size(), 1 + hands.size() + body.size()));
size_t packet_count = 0;
if (not tracking.device_poses.empty())
if (not(tracking.device_poses.empty() and std::holds_alternative<std::monostate>(tracking.face)))
{
auto & packet = packets[packet_count++];
packet.clear();