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.
This commit is contained in:
2012-01-18 15:29:25 +00:00
parent 9d782c8a1a
commit ad3e9900d6
11 changed files with 12 additions and 12 deletions

View File

@@ -389,7 +389,7 @@ static DerivedMesh *arrayModifier_doArray(ArrayModifierData *amd,
BMO_pop(em->bm);
BMEdit_RecalcTesselation(em);
cddm = CDDM_from_BMEditMesh(em, NULL, FALSE, TRUE);
cddm = CDDM_from_BMEditMesh(em, NULL, FALSE, FALSE);
BMEdit_Free(em);
MEM_freeN(em);