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

@@ -454,7 +454,7 @@ static void contarget_get_mesh_mat (Object *ob, const char *substring, float mat
/* get DerivedMesh */
if (em) {
/* target is in editmode, so get a special derived mesh */
dm = CDDM_from_BMEditMesh(em, ob->data, 0);
dm = CDDM_from_BMEditMesh(em, ob->data, FALSE, TRUE);
freeDM= 1;
}
else {