Cleanup: get rid of last G.main in BMesh code.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user