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/blenkernel/intern/constraint.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/blenkernel/intern/constraint.c')
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index 5babb626177..3bcbb782e82 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -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, FALSE, TRUE); + dm = CDDM_from_BMEditMesh(em, ob->data, FALSE, FALSE); freeDM= 1; } else { |