Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / object / object_relations.c
index 3c54c6d0d5a1369038474484fc52af9d5d15b85c..5e7e0fb68a3f5e7beafa78a1d7e22610285aa56b 100644 (file)
@@ -150,7 +150,7 @@ static int vertex_parent_set_exec(bContext *C, wmOperator *op)
                BMEditMesh *em;
 
                EDBM_mesh_load(obedit);
-               EDBM_mesh_make(scene->toolsettings, obedit, true);
+               EDBM_mesh_make(obedit, scene->toolsettings->selectmode, true);
 
                DEG_id_tag_update(obedit->data, 0);