Blender Git Commit Log
Git Commits -> Revision 08511b1
October 5, 2021, 07:05 (GMT) |
XR: Add runtime window area for XR events This adds an offscreen View3D window area for the VR view in order to execute XR events/operators in the proper context. The area is created as runtime data before XR events are dispatched and set as the active area during XR event handling. Since the area is runtime-only, it will not be saved in files and since the area is offscreen, it will not interfere with regular window areas. The area is removed with the rest of the XR runtime data on exit, file read, or when stopping the VR session. Note: This also adds internal types (EVT_DATA_XR, EVT_XR_ACTION) and structs (wmXrActionData) for XR events. Reviewed By: Severin Differential Revision: https://developer.blender.org/D12472 |
Commit Details:
Full Hash: 08511b1c3de0338314940397083adaba4e9cf492
Parent Commit: 300403a
Lines Changed: +268, -19
12 Modified Paths:
/source/blender/editors/include/ED_screen.h (+6, -0) (Diff)
/source/blender/editors/screen/area.c (+62, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+12, -7) (Diff)
/source/blender/editors/screen/screen_intern.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+92, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blender/windowmanager/wm_event_system.h (+7, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+4, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+31, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr.c (+13, -4) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+10, -2) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+29, -6) (Diff)
/source/blender/editors/screen/area.c (+62, -0) (Diff)
/source/blender/editors/screen/screen_edit.c (+12, -7) (Diff)
/source/blender/editors/screen/screen_intern.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+92, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blender/windowmanager/wm_event_system.h (+7, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+4, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+31, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr.c (+13, -4) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+10, -2) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+29, -6) (Diff)