make hands default back to Handtracking if the extension is available

This commit is contained in:
Schmarni
2023-11-14 02:45:29 +01:00
parent e5363acac9
commit 86a7bf7317

View File

@@ -148,7 +148,6 @@ impl Plugin for OpenXrPlugin {
.insert_resource(frame_state.clone()) .insert_resource(frame_state.clone())
.insert_resource(action_sets.clone()); .insert_resource(action_sets.clone());
let hands = xr_instance.exts().ext_hand_tracking.is_some(); let hands = xr_instance.exts().ext_hand_tracking.is_some();
let hands = false;
if hands { if hands {
app.insert_resource(HandTrackingTracker::new(&session).unwrap()); app.insert_resource(HandTrackingTracker::new(&session).unwrap());
app.insert_resource(HandInputSource::OpenXr); app.insert_resource(HandInputSource::OpenXr);