mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
st/oxr: Don't indiscriminately set orientation & position to valid in ensure_valid_position_and_orientation()
This commit is contained in:
parent
384114b821
commit
3bdc57c4b3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue