Fix HTC face tracking.
- Properly send face data to server. - Fix grayed out toggle
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user