[Bf-blender-cvs] [036eb6f2f81] blender2.8: Extrude Widget: don't show when moving
Campbell Barton
noreply at git.blender.org
Mon May 7 21:41:48 CEST 2018
Commit: 036eb6f2f8150afe290edde5d46121aac933116f
Author: Campbell Barton
Date: Mon May 7 15:30:23 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB036eb6f2f8150afe290edde5d46121aac933116f
Extrude Widget: don't show when moving
===================================================================
M source/blender/editors/mesh/editmesh_extrude.c
===================================================================
diff --git a/source/blender/editors/mesh/editmesh_extrude.c b/source/blender/editors/mesh/editmesh_extrude.c
index 51ee8223f0c..b85913a82f9 100644
--- a/source/blender/editors/mesh/editmesh_extrude.c
+++ b/source/blender/editors/mesh/editmesh_extrude.c
@@ -39,6 +39,7 @@
#include "BKE_context.h"
#include "BKE_report.h"
#include "BKE_editmesh.h"
+#include "BKE_global.h"
#include "RNA_define.h"
#include "RNA_access.h"
@@ -428,6 +429,9 @@ static void manipulator_mesh_extrude_refresh(const bContext *C, wmManipulatorGro
WM_manipulator_set_flag(man->axis_arrow, WM_MANIPULATOR_HIDDEN, true);
WM_manipulator_set_flag(man->axis_redo, WM_MANIPULATOR_HIDDEN, true);
+ if (G.moving) {
+ return;
+ }
struct TransformBounds tbounds;
if (!ED_transform_calc_manipulator_stats(C, false, &tbounds)) {
return;
More information about the Bf-blender-cvs
mailing list