diff options
-rw-r--r-- | source/blender/modifiers/intern/MOD_screw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c index 067567b9cda..2221e8cc1bf 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -304,6 +304,8 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, medge_new = result->getEdgeArray(result); origindex= result->getFaceDataArray(result, CD_ORIGINDEX); + + DM_copy_vert_data(dm, result, 0, 0, totvert); /* copy first otherwise this overwrites our own vertex normals */ /* Set the locations of the first set of verts */ @@ -665,8 +667,6 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, } /* done with edge connectivity based normal flipping */ - DM_copy_vert_data(dm, result, 0, 0, totvert); - /* Add Faces */ for (step=1; step < step_tot; step++) { const int varray_stride= totvert * step; |