d/multi: fix untested codepath

This commit is contained in:
danwillm 2022-07-20 09:35:10 +01:00 committed by Jakob Bornecrantz
parent 5e724a6048
commit de53e431ed

View file

@ -149,11 +149,7 @@ get_hand_tracking(struct xrt_device *xdev,
switch (d->override_type) {
case XRT_TRACKING_OVERRIDE_DIRECT: {
// XXX: Codepath not tested. Probably doesn't do what you want.
direct_override(d, &out_value->hand_pose, &out_value->hand_pose);
} break;
case XRT_TRACKING_OVERRIDE_DIRECT: direct_override(d, &tracker_relation, &out_value->hand_pose); break;
case XRT_TRACKING_OVERRIDE_ATTACHED: {
// struct xrt_space_relation target_relation;