Blender Git Commit Log

Git Commits -> Revision 6e05406

Revision 6e05406 by Nicolas Fauvet (master)
May 7, 2020, 12:28 (GMT)
VR: Fix OpenXR state freeze on Oculus after taking off HMD

With the Oculus runtime, the VR session would freeze when taking off the HMD
and putting it back on. This was caused by the deletion of graphics resources
too early in the OpenXR state machine, at least for Oculus.
The resources will now only be freed once the session is actually destroyed.

Also fixes an issue where it wasn't possible to stop the session via the UI
when the HMD was taken off.

Reviewed By: Julian Eisel

Differential Revision: https://developer.blender.org/D7635

Commit Details:

Full Hash: 6e0540671c7a7426d85791db7be20eccc8271619
Parent Commit: 850a539
Committed By: Julian Eisel
Lines Changed: +20, -13

3 Modified Paths:

/intern/ghost/intern/GHOST_XrContext.cpp (+8, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+10, -11) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+2, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021