remove mesh and object arguments from bmesh operators, these are stored within the...
[blender-staging.git] / source / blender / blenkernel / intern / mesh.c
index a6e93622ace0dbe085aac0bf13728e72d07be0d7..4bd77e285de49b5f8d4538146d402c783450574c 100644 (file)
@@ -569,14 +569,14 @@ Mesh *copy_mesh(Mesh *me)
        return men;
 }
 
-BMesh *BKE_mesh_to_bmesh(Mesh *me, Object *ob)
+BMesh *BKE_mesh_to_bmesh(Object *ob)
 {
        BMesh *bm;
        int allocsize[4] = {512,512,2048,512};
 
        bm = BM_Make_Mesh(ob, allocsize);
 
-       BMO_CallOpf(bm, "mesh_to_bmesh mesh=%p object=%p set_shapekey=%i", me, ob, 1);
+       BMO_CallOpf(bm, "mesh_to_bmesh set_shapekey=%i", 1);
 
        return bm;
 }