Blender Git Commit Log

Git Commits -> Revision 2e22cfd

Revision 2e22cfd by Campbell Barton (master)
May 28, 2019, 03:36 (GMT)
Gizmo: changes to internal drag logic

Minor changes to recent gizmo click/drag logic 08dff7b40bc6a

Changing the gizmos highlighted part in the invoke_prepare
callback is too error prone since it needs to run
before it's known which operator will execute.

Add back 'drag_part', since it simplifies click-drag use.
While this isn't essential with custom keymaps per gizmo
it avoids having to define a keymap in the case a drag
event needs a different action.

Commit Details:

Full Hash: 2e22cfd08a0d589e8894e322ed29d5c3227ca04d
Parent Commit: 219e6a9
Lines Changed: +36, -38

6 Modified Paths:

/source/blender/editors/interface/interface_region_tooltip.c (+9, -15) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_navigate.c (+2, -19) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo.c (+2, -0) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c (+12, -4) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c (+5, -0) (Diff)
/source/blender/windowmanager/gizmo/WM_gizmo_types.h (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021