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.
This commit is contained in:
parent
eeff7a2f3c
commit
3f0a26137a
|
@ -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") &&
|
||||
|
|
Loading…
Reference in New Issue