Fix T64817: Active tool gizmo doesn't respect toggle

Error in 14884cda1f

D4973 by @cto.abid
This commit is contained in:
Campbell Barton
2019-05-30 01:17:00 +10:00
parent b79aeb5ca1
commit dff24f96f0

View File

@@ -1965,7 +1965,6 @@ static bool WIDGETGROUP_gizmo_poll_tool(const struct bContext *C, struct wmGizmo
return false;
}
return true;
ScrArea *sa = CTX_wm_area(C);
View3D *v3d = sa->spacedata.first;
if (!WIDGETGROUP_gizmo_poll_generic(v3d)) {