Blender Git Commit Log

Git Commits -> Revision 3a2e459

July 12, 2019, 17:51 (GMT)
Show useful error reports in case of errors.

E.g. with an active OpenXR runtime installed, but no HMD plugged in,
Blender will now show: "Failed to get device information. Is a device
plugged in?".
In case of such errors, the VR-session will be cleanly exited, with
no side effects to the rest of Blender (at least if there are no bugs).

The GHOST_Xr API now allows setting a custom error handling callback
which may cleanly destroy all GHOST_Xr data.

Commit Details:

Full Hash: 3a2e459f588851ca8c9553c803735d49bc3902de
Parent Commit: 330f062
Lines Changed: +116, -25

9 Modified Paths:

/intern/ghost/GHOST_C-api.h (+7, -0) (Diff)
/intern/ghost/GHOST_Types.h (+11, -0) (Diff)
/intern/ghost/intern/GHOST_XR.cpp (+5, -0) (Diff)
/intern/ghost/intern/GHOST_XrContext.cpp (+39, -7) (Diff)
/intern/ghost/intern/GHOST_XrContext.h (+4, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+3, -3) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_xr.c (+45, -12) (Diff)
/source/blender/windowmanager/wm.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021