Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / object / object_hook.c
index 0ce1294..6a3cb9a 100644 (file)
@@ -318,7 +318,7 @@ static bool object_hook_index_array(Main *bmain, Scene *scene, Object *obedit,
 
                        BMEditMesh *em;
 
-                       EDBM_mesh_load(obedit);
+                       EDBM_mesh_load(bmain, obedit);
                        EDBM_mesh_make(obedit, scene->toolsettings->selectmode, true);
 
                        DEG_id_tag_update(obedit->data, 0);