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-05 16:50:23 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-05 16:50:23 +0400
commit7d02f986b6ca3cc3ebd7148ade74ebefcda9ebe2 (patch)
treeffba66c7cbf5d95f3a54e115a55f2b23b1a888ca /source/blender/modifiers/intern/MOD_screw.c
parent7fd67392ebd5061ea1bc695ebd7feabe4755eaac (diff)
remove re-tesselation after constrictive modifiers, this way we can avoid calculating tessfaces between multiple constructive modifiers to speedup the modifier stack.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_screw.c')
-rw-r--r--source/blender/modifiers/intern/MOD_screw.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/modifiers/intern/MOD_screw.c b/source/blender/modifiers/intern/MOD_screw.c
index a8b6da67d19..8ff4080b99b 100644
--- a/source/blender/modifiers/intern/MOD_screw.c
+++ b/source/blender/modifiers/intern/MOD_screw.c
@@ -904,11 +904,8 @@ static DerivedMesh *applyModifier(ModifierData *md, Object *ob,
}
#endif
-
- /* BMESH_TODO - remove this and make modifiers create their own tessfaces on demand */
- CDDM_recalc_tesselation(result);
-
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(result);
}