diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-20 17:25:54 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-20 17:25:54 +0400 |
commit | 1b505e6d1ba341d13f13a327fca1416e6cc753ef (patch) | |
tree | d84e10a589e70a1d6dfb638d34928f7ff496200d /source/blender/modifiers/intern/MOD_screw.c | |
parent | 444613cdbaa3cfa145f042b135e95e46b65b0e17 (diff) |
replace CDDM_calc_normals_mapping with CDDM_calc_normals when used within modifiers.
this way modifiers wont be calculating tessface's which CDDM_calc_normals_mapping will do if not already calculated.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_screw.c')
-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 c5d99a939b9..8ff4080b99b 100644 --- a/source/blender/modifiers/intern/MOD_screw.c +++ b/source/blender/modifiers/intern/MOD_screw.c @@ -906,7 +906,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, if((ltmd->flag & MOD_SCREW_NORMAL_CALC) == 0) { /* BMESH_TODO, we only need to get vertex normals here, this is way overkill */ - CDDM_calc_normals_mapping(result); + CDDM_calc_normals(result); } return result; |