Fix #32543: screw modifier with smooth shading disabled still had one segment

smooth shaded.
This commit is contained in:
Brecht Van Lommel
2012-09-12 13:06:31 +00:00
parent 585cfff87a
commit 7ed5d19c24

View File

@@ -857,7 +857,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
mp_new->loopstart = mpoly_index * 4; mp_new->loopstart = mpoly_index * 4;
mp_new->totloop = 4; mp_new->totloop = 4;
mp_new->flag = ME_SMOOTH; mp_new->flag = mpoly_flag;
origindex[mpoly_index] = ORIGINDEX_NONE; origindex[mpoly_index] = ORIGINDEX_NONE;
mp_new++; mp_new++;
ml_new += 4; ml_new += 4;