Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / object / object_hook.c
index 93546b1bd5d81db68c89d5bf3d420f2e947660ed..3ff794772fac37c63e8ef2e4beb2a05ea8ac591b 100644 (file)
@@ -319,7 +319,7 @@ static bool object_hook_index_array(Scene *scene, Object *obedit,
                        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);