Blender Git Commit Log
Git Commits -> Revision 035372f
August 10, 2021, 01:35 (GMT) |
XR Controller Support Step 2: Action Maps Addresses the remaining portions of T77137 (Python API for Controller Interaction), which was partially completed by D10942. Adds an XR "action maps" system for loading XR action data from a Python script. Action maps are accessible via the Python API, and are used to pass default actions to the VR session during the xr_session_start_pre() callback. Since action maps are stored only as runtime data, they will be cleaned up with the rest of the VR runtime data on file read or exit. Reviewed By: Julian Eisel, Hans Goudey Differential Revision: https://developer.blender.org/D10943 |
Commit Details:
Full Hash: 035372f749484245004f98cd5c40c9936349f303
Parent Commit: f4f91fd
Committed By: YimingWu
Lines Changed: +2541, -103
1 Added Path:
/source/blender/windowmanager/xr/intern/wm_xr_actionmap.c (+565, -0) (View)
13 Modified Paths:
/intern/ghost/GHOST_C-api.h (+15, -1) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+28, -5) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+51, -13) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+7, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+28, -3) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+6, -1) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+105, -2) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+1568, -34) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+47, -4) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr.c (+1, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_action.c (+77, -22) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+42, -17) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+28, -5) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+51, -13) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+7, -1) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+28, -3) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+6, -1) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+105, -2) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+1568, -34) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+47, -4) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr.c (+1, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_action.c (+77, -22) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+42, -17) (Diff)