diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-09-15 10:44:35 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-09-15 10:54:24 +0300 |
commit | fb27a9bb983ce74b8d8f5f871cf0706dd1e25051 (patch) | |
tree | 7dae76c89fe1f466e25e8837b9c48849efaa185f /source/blender/makesrna | |
parent | 785e7ddf10540584ddc2403af40545366f32a770 (diff) |
Gizmo: show groups flagged with SHOW_MODAL_ALL during interaction
Follow up to fix for T73684,
which allowed some modal gizmos to hide all others.
Also resolve an issue from 917a972b56af103aee406dfffe1f42745b5ad360
where shear the shear gizmo would be visible during interaction.
Internally there are some changes to gizmo behavior
- The gizmo with modal interaction wont draw if it's poll function fails.
- The WM_GIZMOGROUPTYPE_DRAW_MODAL_ALL flag now causes these gizmo
groups to draw when another group is being interacted with.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_wm_gizmo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_gizmo.c b/source/blender/makesrna/intern/rna_wm_gizmo.c index febb0e14e07..43848ce78e2 100644 --- a/source/blender/makesrna/intern/rna_wm_gizmo.c +++ b/source/blender/makesrna/intern/rna_wm_gizmo.c @@ -1401,7 +1401,7 @@ static void rna_def_gizmogroup(BlenderRNA *brna) "SHOW_MODAL_ALL", 0, "Show Modal All", - "Show all while interacting"}, + "Show all while interacting, as well as this group when another is being interacted with"}, {WM_GIZMOGROUPTYPE_TOOL_INIT, "TOOL_INIT", 0, |