Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / object / object_relations.c
index 84e3e63..a114b2c 100644 (file)
@@ -145,7 +145,7 @@ static int vertex_parent_set_exec(bContext *C, wmOperator *op)
                Mesh *me = obedit->data;
                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);