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>2015-08-27 12:22:16 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-08-27 12:29:42 +0300
commitc5f9255eed569af74f3c3ad4a2e33ffa39313500 (patch)
tree45af5530ac18bbb6134531c38ff3ce9e3108a76e /source/blender/modifiers/intern/MOD_screw.c
parent5908340f79726335a703d83c1c34e6b612532bc6 (diff)
Fix T45921: Screw modifier flips vertex normals
Diffstat (limited to 'source/blender/modifiers/intern/MOD_screw.c')
-rw-r--r--source/blender/modifiers/intern/MOD_screw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c
index 2e431884845..db65f4431e4 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -766,7 +766,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
}
/* we wont be looping on this data again so copy normals here */
- if (angle < 0.0f)
+ if ((angle < 0.0f) != do_flip)
negate_v3(vc->no);
normalize_v3(vc->no);