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_particlesystem.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_particlesystem.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_particlesystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_particlesystem.c b/source/blender/modifiers/intern/MOD_particlesystem.c index 42061222156..4021a8a8114 100644 --- a/source/blender/modifiers/intern/MOD_particlesystem.c +++ b/source/blender/modifiers/intern/MOD_particlesystem.c @@ -166,7 +166,7 @@ static void deformVerts(ModifierData *md, Object *ob, /* make new dm */ psmd->dm=CDDM_copy(dm, 0); CDDM_apply_vert_coords(psmd->dm, vertexCos); - CDDM_calc_normals_mapping(psmd->dm); + CDDM_calc_normals(psmd->dm); if(needsFree){ dm->needsFree = 1; |