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/makesrna/intern/rna_wm_gizmo.c
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/makesrna/intern/rna_wm_gizmo.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm_gizmo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_gizmo.c b/source/blender/makesrna/intern/rna_wm_gizmo.c
index 4cb682df05d..6a1d00b13ae 100644
--- a/source/blender/makesrna/intern/rna_wm_gizmo.c
+++ b/source/blender/makesrna/intern/rna_wm_gizmo.c
@@ -1241,6 +1241,8 @@ static void rna_def_gizmogroup(BlenderRNA *brna)
""},
{WM_GIZMOGROUPTYPE_DRAW_MODAL_ALL, "SHOW_MODAL_ALL", 0, "Show Modal All",
"Show all while interacting"},
+ {WM_GIZMOGROUPTYPE_TOOL_INIT, "TOOL_INIT", 0, "Tool Init",
+ "Postpone running until tool operator run (when used with a tool)"},
{0, NULL, 0, NULL, NULL}
};
prop = RNA_def_property(srna, "bl_options", PROP_ENUM, PROP_NONE);