From 3bdc57c4b3357c14197ab0681c2efc8f219064e2 Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Fri, 29 May 2020 00:57:35 +0200 Subject: [PATCH] st/oxr: Don't indiscriminately set orientation & position to valid in ensure_valid_position_and_orientation() --- src/xrt/state_trackers/oxr/oxr_xdev.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/xrt/state_trackers/oxr/oxr_xdev.c b/src/xrt/state_trackers/oxr/oxr_xdev.c index ba1b9f752..3cfe3cf64 100644 --- a/src/xrt/state_trackers/oxr/oxr_xdev.c +++ b/src/xrt/state_trackers/oxr/oxr_xdev.c @@ -95,9 +95,6 @@ ensure_valid_position_and_orientation(struct xrt_space_relation *relation, if (!valid_pos) { relation->pose.position = fallback->position; } - - relation->relation_flags |= XRT_SPACE_RELATION_POSITION_VALID_BIT; - relation->relation_flags |= XRT_SPACE_RELATION_ORIENTATION_VALID_BIT; } void