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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user