Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-13 02:04:50 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-13 02:10:19 +0300
commit1f1802307f9a3b1a09b9eb8d70dadc7c849c5e2c (patch)
tree75a1859bba472bc01d3801ce027d290adfdc8629 /source/blender/windowmanager/gizmo/WM_gizmo_types.h
parent26a6e58e9a259327fd5125095f052a42a9405320 (diff)
Gizmo: value2d utility to adjust operator values
This allows any operator to interactively redo without having to manually make each operator modal.
Diffstat (limited to 'source/blender/windowmanager/gizmo/WM_gizmo_types.h')
-rw-r--r--source/blender/windowmanager/gizmo/WM_gizmo_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h
index 46b6b85e8f2..2ab536752c3 100644
--- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h
+++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h
@@ -106,6 +106,8 @@ typedef enum eWM_GizmoFlagGroupTypeFlag {
WM_GIZMOGROUPTYPE_PERSISTENT = (1 << 4),
/* Show all other gizmos when interacting. */
WM_GIZMOGROUPTYPE_DRAW_MODAL_ALL = (1 << 5),
+ /* When used with tool, only run when activating the tool. */
+ WM_GIZMOGROUPTYPE_TOOL_INIT = (1 << 6),
} eWM_GizmoFlagGroupTypeFlag;