Using the VR plugin (in 2.83), when using an Oculus VR Helmet, there was a freezing bug when we removed the helmet and then put it back on.
It was caused by the deletion of graphic resources too early in the state machine, at least for the Oculus.
I just ended the session, and not removed the resources, that are removed when the state reaches the destroy state.
Details
Details
Diff Detail
Diff Detail
- Repository
- rB Blender
- Branch
- fix-oculus-openxr-state (branched from master)
- Build Status
Buildable 7908 Build 7908: arc lint + arc unit
Event Timeline
Comment Actions
- Fixed stop session while in IDLE state.
I forgot yesterday that I had another important fix related to states and (maybe) Oculus.
When taking the helmet off, and ending a session, Oculus is going back to the IDLE state. In that state, with the previous code, it was impossible to stop the VR session via the button in the addon panel.
You could stop it if you still had the helmet ON. But it is not a real usecase, you cannot use your mouse to click on a button when you have the helmet on.