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_ocean.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_ocean.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_ocean.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_ocean.c b/source/blender/modifiers/intern/MOD_ocean.c index 2910fd515ec..296e377f6fa 100644 --- a/source/blender/modifiers/intern/MOD_ocean.c +++ b/source/blender/modifiers/intern/MOD_ocean.c @@ -541,7 +541,7 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob, result = doOcean(md, ob, derivedData, 0); if(result != derivedData) - CDDM_calc_normals_mapping(result); + CDDM_calc_normals(result); return result; } |