Blender Git Commit Log

Git Commits -> Revision e022f99

Revision e022f99 by Peter Kim (xr-controller-support)
June 26, 2021, 10:25 (GMT)
XR: Allow multiple modal actions at a time

This was disabled before since modal handlers for action operators
could receive events from other actions and exit prematurely. Now,
the XR operators check for events with the matching operator and
properties to avoid this. In addition, a list of active modal actions
is stored in the session state so that duplicate operators can be
filtered out when dispatching events.

Commit Details:

Full Hash: e022f99e5c19d1292125b95cd7a5fc196b02891e
Parent Commit: 80c80f5
Lines Changed: +144, -93

4 Modified Paths:

/source/blender/windowmanager/xr/intern/wm_xr_action.c (+13, -18) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_intern.h (+2, -2) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_operators.c (+44, -35) (Diff)
/source/blender/windowmanager/xr/intern/wm_xr_session.c (+85, -38) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021