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>2021-09-15 15:34:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-15 15:34:21 +0300
commit5c6cc931b2203d97aa9d570ff3b353c2a3dfebed (patch)
tree458f4ec5ad8cc2c32be83d21c1a557aa0c5ee1f2 /source/blender/makesrna/intern/rna_wm_gizmo.c
parent1bd28a5e0ca6d16c21b6365b389c9c1830635a58 (diff)
Gizmo: add flag to hide the gizmo group during interaction
This allows a hack to be removed that temporarily overwrote the 3D views gizmo display flag. Also reverse change from fb27a9bb983ce74b8d8f5f871cf0706dd1e25051 that runs poll on modal gizmo groups as there is some risk that the poll function unlinks the gizmo.
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm_gizmo.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm_gizmo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_gizmo.c b/source/blender/makesrna/intern/rna_wm_gizmo.c
index 43848ce78e2..6a63723d174 100644
--- a/source/blender/makesrna/intern/rna_wm_gizmo.c
+++ b/source/blender/makesrna/intern/rna_wm_gizmo.c
@@ -1402,6 +1402,11 @@ static void rna_def_gizmogroup(BlenderRNA *brna)
0,
"Show Modal All",
"Show all while interacting, as well as this group when another is being interacted with"},
+ {WM_GIZMOGROUPTYPE_DRAW_MODAL_EXCLUDE,
+ "EXCLUDE_MODAL",
+ 0,
+ "Exclude Modal",
+ "Show all except this group while interacting"},
{WM_GIZMOGROUPTYPE_TOOL_INIT,
"TOOL_INIT",
0,