Blender Git Loki

Git Commits -> Revision 6b67760

Revision 6b67760 by Peter Kim (xr-controller-support)
July 28, 2021, 04:02 (GMT)
XR: Refactor action maps, bindings

This removes the previous limitation of one interaction profile
(device) per action map by moving the profiles to action bindings.
By doing so, there is no longer the need for users to manually select
an action map, as the XR runtime will automatically select the most
appropriate profile.

An additional DNA action map layer, "XrActionMapBinding", was also
added to store profiles and input-specific properties for actions,
allowing for flexible inputs across devices.

Commit Details:

Full Hash: 6b67760bd8fb20357ecc86782cf5449d35c38d27
Parent Commit: fb31544
Lines Changed: +873, -664

17 Modified Paths:

/intern/ghost/GHOST_C-api.h (+2, -17) (Diff)
/intern/ghost/GHOST_Types.h (+11, -13) (Diff)
/intern/ghost/intern/GHOST_C-api.cpp (+5, -24) (Diff)
/intern/ghost/intern/GHOST_XrAction.cpp (+116, -70) (Diff)
/intern/ghost/intern/GHOST_XrAction.h (+27, -13) (Diff)
/intern/ghost/intern/GHOST_XRSession.cpp (+13, -75) (Diff)
/intern/ghost/intern/GHOST_XrSession.h (+2, -7) (Diff)
/source/blender/makesdna/DNA_xr_types.h (+48, -26) (Diff)
/source/blender/makesrna/intern/rna_internal.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_xr.c (+387, -283) (Diff)
/source/blender/windowmanager/intern/wm.c (+8, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -2) (Diff)
/source/blender/windowmanager/WM_api.h (+18, -18) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_action.c (+57, -79) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_actionmap.c (+146, -19) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+5, -4) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+25, -14) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021