argument for CDDM_from_BMEditMesh() so creating tessface data is optional, no functional changes since all callers use this so far.

This commit is contained in:
2012-01-18 15:09:27 +00:00
parent 939c4171c4
commit 9d782c8a1a
16 changed files with 47 additions and 38 deletions

View File

@@ -185,7 +185,7 @@ DerivedMesh *get_dm(Object *ob, struct BMEditMesh *em, DerivedMesh *dm, float (*
return dm;
if(ob->type==OB_MESH) {
if(em) dm= CDDM_from_BMEditMesh(em, ob->data, 0);
if(em) dm= CDDM_from_BMEditMesh(em, ob->data, FALSE, TRUE);
else dm = CDDM_from_mesh((struct Mesh *)(ob->data), ob);
if(vertexCos) {