mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-07 15:46:12 +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) {
|
if (!valid_pos) {
|
||||||
relation->pose.position = fallback->position;
|
relation->pose.position = fallback->position;
|
||||||
}
|
}
|
||||||
|
|
||||||
relation->relation_flags |= XRT_SPACE_RELATION_POSITION_VALID_BIT;
|
|
||||||
relation->relation_flags |= XRT_SPACE_RELATION_ORIENTATION_VALID_BIT;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue