diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-05-08 08:25:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-05-08 08:27:53 +0300 |
commit | 05ec0108dca544785ae55cbe847eaa058457df3d (patch) | |
tree | 9617df2a254b575cf7cef77dc527bab13ab05104 /source/blender/editors/mesh/editmesh_extrude.c | |
parent | 469d43b1dbc54d2afcbfe104a2d8ca9c03df9b81 (diff) |
WM: refresh tool on object mode switch
The tool manipulator could become disabled when set in the wrong mode.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_extrude.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_extrude.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c index 0e1f2f882bd..c8b2850cbad 100644 --- a/source/blender/editors/mesh/editmesh_extrude.c +++ b/source/blender/editors/mesh/editmesh_extrude.c @@ -448,7 +448,8 @@ static void manipulator_mesh_extrude_refresh(const bContext *C, wmManipulatorGro if (!ED_transform_calc_manipulator_stats( C, &(struct TransformCalcParams){ .orientation_type = orientation_type + 1, - }, &tbounds)) { + }, &tbounds)) + { return; } |