Blender Git Loki

Git Commits -> Revision fa2a13b

August 12, 2020, 07:38 (GMT)
Fix T79324: Crash when changing View Layer while VR session runs

Proper handling of View Layers for the VR session was never implemented.
Now the View Layer of the VR session follows the window the session was
started in.
Note that if this window is closed, we fallback to another window. This
is done to avoid the overhead it would take to maintain a separate
depsgraph for the VR view. Instead we always share some already visible
View Layer (and hence the depsgraph).

Commit Details:

Full Hash: fa2a13bcb958ee038ab85c4a413282accceedd1f
Parent Commit: 112416e
Committed By: Jeroen Bakker
Lines Changed: +58, -6

4 Modified Paths:

/source/blender/windowmanager/intern/wm_operators.c (+2, -1) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+5, -1) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+50, -3) (Diff)
/source/blender/windowmanager/xr/wm_xr.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021