mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
st/oxr: Handle quad layer with reference space as base space again
fixes d64ef3df
This commit is contained in:
parent
d64ef3df74
commit
eb355f3643
|
@ -859,6 +859,12 @@ submit_quad_layer(struct oxr_session *sess,
|
|||
flags |= XRT_LAYER_COMPOSITION_VIEW_SPACE_BIT;
|
||||
// The space might have a pose, transform that in as well.
|
||||
math_pose_transform(&spc->pose, &pose, &pose);
|
||||
} else if (spc->is_reference) {
|
||||
// The space might have a pose, transform that in as well.
|
||||
math_pose_transform(&spc->pose, &pose, &pose);
|
||||
|
||||
// Remove the tracking system origin offset.
|
||||
math_pose_transform(inv_offset, &pose, &pose);
|
||||
} else {
|
||||
//! @todo Action space handling not very complete
|
||||
|
||||
|
|
Loading…
Reference in a new issue