Blender Git Commit Log

Git Commits -> Revision 1d86e1f

October 26, 2020, 16:54 (GMT)
XR: Support operator properties for actions

Pointers to op properties are stored in the XR session state as
IDProperty* and applied upon op execution. The actual properties
themselves are stored as key map items (new "XR" and "XR Session"
key maps were added to the blender default key maps).

The "XR" key map is intended to store op properties for action sets
that are saved in add-on (e.g. the VR Scene Inspection add-on) prefs.
The "XR Session" key map is intended to store op properties for scene
action sets, with these properties used for the XR session.

In this way, scene action sets can configure properties without
worrying about overwriting properties for action sets saved in prefs.

Commit Details:

Full Hash: 1d86e1ff4676416f51b21b322e6b0fe53490df28
Parent Commit: 3e0acdf
Lines Changed: +197, -18

18 Modified Paths:

/intern/ghost/GHOST_Types.h (+3, -2) (Diff)
/release/scripts/modules/bl_keymap_utils/keymap_hierarchy.py (+4, -0) (Diff)
/release/scripts/modules/rna_keymap_ui.py (+7, -1) (Diff)
/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+25, -1) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+5, -0) (Diff)
/source/blender/makesrna/intern/rna_screen.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+76, -1) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+21, -0) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+15, -8) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+5, -2) (Diff)
/source/blender/windowmanager/intern/wm_keymap.c (+25, -0) (Diff)
/source/blender/windowmanager/wm_event_types.h (+3, -0) (Diff)
/source/blender/windowmanager/WM_keymap.h (+1, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+2, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_actions.c (+1, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+1, -0) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021