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>2019-01-04 08:17:49 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-04 09:07:12 +0300
commit3f0a26137aac348a2b5660de0769a923160d9a7f (patch)
tree850c6f04f582548d39aeec462b47f56eff205111 /source/blender/editors
parenteeff7a2f3c9d4bb495d31a7190044be926b9a45e (diff)
Spin Tool: don't flip when using a negative angle
The intention was to flip normals when extruding in the opposite direction, however the sign of the angle isn't meaningful unless the geometry center and region normal are taken into account. Disable, may add back in a way that works more predictably.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/mesh/editmesh_extrude_spin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_extrude_spin.c b/source/blender/editors/mesh/editmesh_extrude_spin.c
index a9e78f74012..b7c09c2b029 100644
--- a/source/blender/editors/mesh/editmesh_extrude_spin.c
+++ b/source/blender/editors/mesh/editmesh_extrude_spin.c
@@ -66,7 +66,7 @@ static int edbm_spin_exec(bContext *C, wmOperator *op)
RNA_float_get_array(op->ptr, "axis", axis);
const int steps = RNA_int_get(op->ptr, "steps");
const float angle = RNA_float_get(op->ptr, "angle");
- const bool use_normal_flip = RNA_boolean_get(op->ptr, "use_normal_flip") ^ (angle < 0.0f);
+ const bool use_normal_flip = RNA_boolean_get(op->ptr, "use_normal_flip");
const bool dupli = RNA_boolean_get(op->ptr, "dupli");
const bool use_auto_merge = (
RNA_boolean_get(op->ptr, "use_auto_merge") &&