converting a mesh to an undo mesh now skips using bmesh operator.

This commit is contained in:
2012-03-29 03:06:42 +00:00
parent f22f60e7c4
commit a173508f49
4 changed files with 7 additions and 4 deletions

View File

@@ -3083,8 +3083,8 @@ static int mesh_separate_selected(Main *bmain, Scene *scene, Base *editbase, wmO
EDBM_op_callf(em, wmop, "del geom=%hvef context=%i", BM_ELEM_SELECT, DEL_VERTS);
BM_mesh_normals_update(bm_new, TRUE);
BMO_op_callf(bm_new, "bmesh_to_mesh mesh=%p object=%p notessellation=%b",
basenew->object->data, basenew->object, TRUE);
BM_mesh_bm_to_me(bm_new, basenew->object->data, FALSE);
BM_mesh_free(bm_new);
((Mesh *)basenew->object->data)->edit_btmesh = NULL;