merge with trunk at r31523
[blender.git] / source / blender / modifiers / intern / MOD_util.c
index 754b18bc282d725c54c359b7a7542986b57d62e2..25072ee7b9b4df3a59e3549dd6e270273e51f150 100644 (file)
@@ -107,7 +107,7 @@ DerivedMesh *get_cddm(struct Scene *scene, Object *ob, struct EditMesh *em, Deri
                dm= get_dm(scene, ob, em, dm, vertexCos, 0);
        }
        else {
-               dm= CDDM_copy(dm);
+               dm= CDDM_copy(dm, 0);
                CDDM_apply_vert_coords(dm, vertexCos);
        }