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:40:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-01-05 16:40:09 +0400
commit7fd67392ebd5061ea1bc695ebd7feabe4755eaac (patch)
tree0614d1a94fb610c0157b8b684d21052d159a0999 /source/blender/modifiers/intern/MOD_explode.c
parent348f116fe574ee38a70e8c9bdff7fc62ad1ec2e8 (diff)
added a function to ensure derived mesh has tessface's, in preparation for removal of tessface recalculation after each modifier runs.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_explode.c')
-rw-r--r--source/blender/modifiers/intern/MOD_explode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_explode.c b/source/blender/modifiers/intern/MOD_explode.c
index 793824c4136..e6e3ef2a0aa 100644
--- a/source/blender/modifiers/intern/MOD_explode.c
+++ b/source/blender/modifiers/intern/MOD_explode.c
@@ -983,6 +983,8 @@ static DerivedMesh * applyModifier(ModifierData *md, Object *ob,
ExplodeModifierData *emd= (ExplodeModifierData*) md;
ParticleSystemModifierData *psmd=findPrecedingParticlesystem(ob,md);
+ DM_ensure_tessface(dm); /* BMESH - UNTIL MODIFIER IS UPDATED FOR MPoly */
+
if(psmd){
ParticleSystem * psys=psmd->psys;