Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-03-29 05:41:56 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-29 05:41:56 +0400
commit42076f0a1f46d165cf0eae364a3e3ebb3f870edc (patch)
treeaf89c62c31339c37c21bf8d759a3551bc52e8e2f /source/blender/makesrna/intern/rna_object.c
parenta308b6c0ec070ac3813849c670b077641e9071a2 (diff)
skip using bmesh operators for converting to/from undo meshes (gives some speedup)
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r--source/blender/makesrna/intern/rna_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c
index 574d9877cfb..71a826f1351 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -228,7 +228,7 @@ void rna_Object_active_shape_update(Main *bmain, Scene *scene, PointerRNA *ptr)
/* exit/enter editmode to get new shape */
switch (ob->type) {
case OB_MESH:
- EDBM_mesh_load(scene, ob);
+ EDBM_mesh_load(ob);
EDBM_mesh_make(scene->toolsettings, scene, ob);
BMEdit_RecalcTessellation(((Mesh*)ob->data)->edit_btmesh);
break;