Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-05-08 08:25:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-05-08 08:27:53 +0300
commit05ec0108dca544785ae55cbe847eaa058457df3d (patch)
tree9617df2a254b575cf7cef77dc527bab13ab05104 /source/blender/editors/mesh/editmesh_extrude.c
parent469d43b1dbc54d2afcbfe104a2d8ca9c03df9b81 (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.c3
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;
}