diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-13 13:23:07 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-13 13:45:02 +0300 |
commit | 65b03129041f42dabe1cdfd5154fc6efa6e1e758 (patch) | |
tree | cef91a2e1528912b23f16f2dc1c5e41aab0d0315 /source/blender/editors/mesh | |
parent | cd60843aef84b1801c9e0ff5c8d63926a20435cd (diff) |
3D View: move gizmo draw options out of overlays
Gizmo's now have their own popover in preparation
for making transform gizmos accessible without having to use tools
See: T63518
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r-- | source/blender/editors/mesh/editmesh_polybuild.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_polybuild.c b/source/blender/editors/mesh/editmesh_polybuild.c index 19831e8f380..7decd5f4b2f 100644 --- a/source/blender/editors/mesh/editmesh_polybuild.c +++ b/source/blender/editors/mesh/editmesh_polybuild.c @@ -91,9 +91,7 @@ static bool edbm_preselect_or_active( BMElem **r_ele) { ARegion *ar = CTX_wm_region(C); - const bool show_gizmo = !( - (v3d->flag2 & V3D_HIDE_OVERLAYS) || - (v3d->gizmo_flag & (V3D_GIZMO_HIDE | V3D_GIZMO_HIDE_TOOL))); + const bool show_gizmo = !((v3d->gizmo_flag & (V3D_GIZMO_HIDE | V3D_GIZMO_HIDE_TOOL))); wmGizmoMap *gzmap = show_gizmo ? ar->gizmo_map : NULL; wmGizmoGroup *gzgroup = gzmap ? WM_gizmomap_group_find(gzmap, "VIEW3D_GGT_mesh_preselect_elem") : NULL; |