diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-18 19:29:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-18 19:29:25 +0400 |
commit | ad3e9900d6219aa84f91c7ff30ee48b7253ca0f1 (patch) | |
tree | 35e8ce5bb011667925802b916d4792c4fbc089df /source/blender/modifiers/intern/MOD_edgesplit.c | |
parent | 9d782c8a1afb6e42d38d9d32c776dec52451887c (diff) |
call CDDM_from_BMEditMesh without creating tessface data for modifiers.
- in the case of deform modifiers this is very safe (assuming the mods themselves dont need tessface data), since the DM is freed right after, so this is an easy speedup.
- in the case of bevel and split edge modifiers this should still work out fine since mods that need tessface data will generate it.
Diffstat (limited to 'source/blender/modifiers/intern/MOD_edgesplit.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_edgesplit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_edgesplit.c b/source/blender/modifiers/intern/MOD_edgesplit.c index da5e9ccc45f..571f01d570e 100644 --- a/source/blender/modifiers/intern/MOD_edgesplit.c +++ b/source/blender/modifiers/intern/MOD_edgesplit.c @@ -108,7 +108,7 @@ static DerivedMesh *doEdgeSplit(DerivedMesh *dm, EdgeSplitModifierData *emd, Obj cddm->release(cddm); } - cddm = CDDM_from_BMEditMesh(em, NULL, TRUE, TRUE); + cddm = CDDM_from_BMEditMesh(em, NULL, TRUE, FALSE); BMEdit_Free(em); MEM_freeN(em); |