Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-01-20 17:25:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-20 17:25:54 +0400
commit1b505e6d1ba341d13f13a327fca1416e6cc753ef (patch)
treed84e10a589e70a1d6dfb638d34928f7ff496200d /source/blender/modifiers/intern/MOD_util.c
parent444613cdbaa3cfa145f042b135e95e46b65b0e17 (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_util.c')
-rw-r--r--source/blender/modifiers/intern/MOD_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_util.c b/source/blender/modifiers/intern/MOD_util.c
index f8386f6e408..9c6d87d0074 100644
--- a/source/blender/modifiers/intern/MOD_util.c
+++ b/source/blender/modifiers/intern/MOD_util.c
@@ -173,7 +173,7 @@ DerivedMesh *get_cddm(Object *ob, struct BMEditMesh *em, DerivedMesh *dm, float
}
if(dm)
- CDDM_calc_normals_mapping(dm);
+ CDDM_calc_normals(dm);
return dm;
}
@@ -190,7 +190,7 @@ DerivedMesh *get_dm(Object *ob, struct BMEditMesh *em, DerivedMesh *dm, float (*
if(vertexCos) {
CDDM_apply_vert_coords(dm, vertexCos);
- //CDDM_calc_normals_mapping(dm);
+ //CDDM_calc_normals(dm);
}
if(orco)