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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-06-13 17:29:12 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-06-13 17:29:12 +0300
commitf61c30f804e36bf00e7124514f02bbee42e0197d (patch)
tree0f947a35c7814cb15ce7cfa1b5a2c1eb01d910d7 /source/blender/makesrna
parent5ff1d845ead05ac6ef952782ebd3ed98277ef6c5 (diff)
Cleanup: get rid of last G.main in BMesh code.
Diffstat (limited to 'source/blender/makesrna')
-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 bd2d8e98bb0..87c9291af8d 100644
--- a/source/blender/makesrna/intern/rna_object.c
+++ b/source/blender/makesrna/intern/rna_object.c
@@ -273,7 +273,7 @@ static void rna_Object_active_shape_update(Main *bmain, Scene *scene, PointerRNA
/* exit/enter editmode to get new shape */
switch (ob->type) {
case OB_MESH:
- EDBM_mesh_load(ob);
+ EDBM_mesh_load(bmain, ob);
EDBM_mesh_make(ob, scene->toolsettings->selectmode, true);
DAG_id_tag_update(ob->data, 0);