st/oxr: Don't indiscriminately set orientation & position to valid in ensure_valid_position_and_orientation()

This commit is contained in:
Christoph Haag 2020-05-29 00:57:35 +02:00
parent 384114b821
commit 3bdc57c4b3

View file

@ -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