Blender Git Commit Log

Git Commits -> Revision d591c8a

Revision d591c8a by Campbell Barton (master)
December 18, 2019, 14:53 (GMT)
Gizmo: add the ability to postpone refreshing while tweaking

This resolves a logical problem using tweak as a fallback tool.
See: T66304#828742

The select action would immediately show the gizmo underneath it,
then the tweak would be handled by the gizmo instead of moving the item
under the cursor.

Currently this works by hiding the gizmo until the tweak event ends.
While it's simpler to check if the gizmo received a mouse-down event,
it causes flickering before each drag event which feels like a glitch.

This is optional for each gizmo type because there are cases where this
can be useful to activate the gizmo immediately (mesh rip for example).

Commit Details:

Full Hash: d591c8a350310e69d4db23759847fb0df2ff23ae
Parent Commit: 5467f3d
Lines Changed: +122, -18

9 Modified Paths:

/source/blender/editors/space_image/space_image.c (+8, -4) (Diff)
/source/blender/editors/space_view3d/view3d_gizmo_tool_generic.c (+4, -1) (Diff)
/source/blender/editors/transform/transform_gizmo_3d.c (+7, -4) (Diff)
/source/blender/editors/transform/transform_gizmo_extrude_3d.c (+2, -1) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c (+23, -1) (Diff)
/source/blender/windowmanager/gizmo/intern/wm_gizmo_map.c (+43, -7) (Diff)
/source/blender/windowmanager/gizmo/WM_gizmo_api.h (+6, -0) (Diff)
/source/blender/windowmanager/gizmo/WM_gizmo_types.h (+23, -0) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021