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/space_view3d/view3d_gizmo_forcefield.c | |
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/space_view3d/view3d_gizmo_forcefield.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_gizmo_forcefield.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c b/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c index 750a8101a15..8aa5cca4cbf 100644 --- a/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c +++ b/source/blender/editors/space_view3d/view3d_gizmo_forcefield.c @@ -49,9 +49,7 @@ static bool WIDGETGROUP_forcefield_poll(const bContext *C, wmGizmoGroupType *UNU { View3D *v3d = CTX_wm_view3d(C); - if ((v3d->flag2 & V3D_HIDE_OVERLAYS) || - (v3d->gizmo_flag & (V3D_GIZMO_HIDE | V3D_GIZMO_HIDE_CONTEXT))) - { + if (v3d->gizmo_flag & (V3D_GIZMO_HIDE | V3D_GIZMO_HIDE_CONTEXT)) { return false; } |