diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-27 12:22:16 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-27 12:29:42 +0300 |
commit | c5f9255eed569af74f3c3ad4a2e33ffa39313500 (patch) | |
tree | 45af5530ac18bbb6134531c38ff3ce9e3108a76e /source/blender/modifiers | |
parent | 5908340f79726335a703d83c1c34e6b612532bc6 (diff) |
Fix T45921: Screw modifier flips vertex normals
Diffstat (limited to 'source/blender/modifiers')
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 2 |
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); |