mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
d/multi: Correctly override the head pose in get_view_poses
This commit is contained in:
parent
e4805c07e2
commit
d2366b31dc
|
@ -195,6 +195,7 @@ get_view_poses(struct xrt_device *xdev,
|
||||||
struct xrt_device *target = d->tracking_override.target;
|
struct xrt_device *target = d->tracking_override.target;
|
||||||
xrt_device_get_view_poses(target, default_eye_relation, at_timestamp_ns, view_count, out_head_relation,
|
xrt_device_get_view_poses(target, default_eye_relation, at_timestamp_ns, view_count, out_head_relation,
|
||||||
out_fovs, out_poses);
|
out_fovs, out_poses);
|
||||||
|
get_tracked_pose(xdev, XRT_INPUT_GENERIC_HEAD_POSE, at_timestamp_ns, out_head_relation);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool
|
static bool
|
||||||
|
|
Loading…
Reference in a new issue