[Bf-blender-cvs] [6dfe6b4f196] master: Fix T58199: Spin tool top bar settings don't apply
Campbell Barton
noreply at git.blender.org
Wed Jan 23 06:14:30 CET 2019
Commit: 6dfe6b4f196d20be24a0c71dcc90ed5569f9b565
Author: Campbell Barton
Date: Wed Jan 23 16:15:01 2019 +1100
Branches: master
https://developer.blender.org/rB6dfe6b4f196d20be24a0c71dcc90ed5569f9b565
Fix T58199: Spin tool top bar settings don't apply
===================================================================
M source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c
===================================================================
diff --git a/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c b/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c
index 4ff999b9da3..f28a1e7587e 100644
--- a/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c
+++ b/source/blender/editors/mesh/editmesh_extrude_spin_gizmo.c
@@ -144,7 +144,7 @@ static void gizmo_mesh_spin_init_setup(const bContext *UNUSED(C), wmGizmoGroup *
WM_gizmo_set_scale(gz, scale_button);
gz->color[3] = 0.6f;
- gz->flag |= WM_GIZMO_DRAW_OFFSET_SCALE;
+ gz->flag |= WM_GIZMO_DRAW_OFFSET_SCALE | WM_GIZMO_OPERATOR_TOOL_INIT;
ggd->gizmos.icon_button[i][j] = gz;
}
More information about the Bf-blender-cvs
mailing list