diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-29 05:41:56 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-29 05:41:56 +0400 |
commit | 42076f0a1f46d165cf0eae364a3e3ebb3f870edc (patch) | |
tree | af89c62c31339c37c21bf8d759a3551bc52e8e2f /source/blender/editors/mesh/mesh_data.c | |
parent | a308b6c0ec070ac3813849c670b077641e9071a2 (diff) |
skip using bmesh operators for converting to/from undo meshes (gives some speedup)
Diffstat (limited to 'source/blender/editors/mesh/mesh_data.c')
-rw-r--r-- | source/blender/editors/mesh/mesh_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c index c58761e9173..0ede2baf9f6 100644 --- a/source/blender/editors/mesh/mesh_data.c +++ b/source/blender/editors/mesh/mesh_data.c @@ -614,7 +614,7 @@ static int drop_named_image_invoke(bContext *C, wmOperator *op, wmEvent *event) ED_uvedit_assign_image(bmain, scene, obedit, ima, NULL); if (exitmode) { - EDBM_mesh_load(scene, obedit); + EDBM_mesh_load(obedit); EDBM_mesh_free(me->edit_btmesh); MEM_freeN(me->edit_btmesh); me->edit_btmesh = NULL; |