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
path: root/source
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-09-12 17:06:31 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-09-12 17:06:31 +0400
commit7ed5d19c24df532aa6d6638687da150bfa0c2f4f (patch)
tree79338b9036784e6af72dc1a04b1197e2deb0a58a /source
parent585cfff87ad8e996b336e8522efb1bce86cce567 (diff)
Fix #32543: screw modifier with smooth shading disabled still had one segment
smooth shaded.
Diffstat (limited to 'source')
-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 aed8a70a805..4fd2c658380 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -857,7 +857,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
mp_new->loopstart = mpoly_index * 4;
mp_new->totloop = 4;
- mp_new->flag = ME_SMOOTH;
+ mp_new->flag = mpoly_flag;
origindex[mpoly_index] = ORIGINDEX_NONE;
mp_new++;
ml_new += 4;