Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / object / object_edit.c
index 8effdb2..45ad4bf 100644 (file)
@@ -191,7 +191,7 @@ static bool ED_object_editmode_load_ex(Main *bmain, Object *obedit, const bool f
                        return false;
                }
 
-               EDBM_mesh_load(obedit);
+               EDBM_mesh_load(bmain, obedit);
 
                if (freedata) {
                        EDBM_mesh_free(me->edit_btmesh);