diff --git a/client/scenes/lobby_gui.cpp b/client/scenes/lobby_gui.cpp index 7725dd73..724fdb72 100644 --- a/client/scenes/lobby_gui.cpp +++ b/client/scenes/lobby_gui.cpp @@ -663,7 +663,7 @@ void scenes::lobby::gui_settings() ImGui::EndDisabled(); } { - ImGui::BeginDisabled(not application::get_fb_face_tracking2_supported()); + ImGui::BeginDisabled(not(application::get_fb_face_tracking2_supported() or application::get_htc_face_tracking_eye_supported() or application::get_htc_face_tracking_lip_supported())); bool enabled = config.check_feature(feature::face_tracking); if (ImGui::Checkbox(_S("Enable face tracking"), &enabled)) { diff --git a/client/scenes/stream_tracking.cpp b/client/scenes/stream_tracking.cpp index 8fc0d8a3..0d70f5de 100644 --- a/client/scenes/stream_tracking.cpp +++ b/client/scenes/stream_tracking.cpp @@ -309,7 +309,7 @@ void scenes::stream::tracking() application::get_fb_face_tracker2().get_weights(t0 + Δt, packet.face.emplace()); break; case wivrn::from_headset::face_type::htc: - auto face_htc = packet.face_htc.emplace(); + auto & face_htc = packet.face_htc.emplace(); face_htc.eye_active = false; face_htc.lip_active = false; if (application::get_htc_face_tracking_eye_supported())