diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-03-13 18:02:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-03-13 18:08:29 +0300 |
commit | be25a0faa7ff0f64e9d75f5f48c042bb8595f142 (patch) | |
tree | a5e8f5d518bd0c4544078d2d5f55a07d988932b4 /source/blender/makesrna | |
parent | bf8f5f51428dd22d06d33fa6c990f8eaccd80b5e (diff) |
Cleanup: pass selectmode directly
Pass instead of editmesh or toolsettings.
Needed for multi edit-mode
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index e6e70694885..1d77030fe00 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -273,7 +273,7 @@ static void rna_Object_active_shape_update(Main *bmain, Scene *scene, PointerRNA switch (ob->type) { case OB_MESH: EDBM_mesh_load(ob); - EDBM_mesh_make(scene->toolsettings, ob, true); + EDBM_mesh_make(ob, scene->toolsettings->selectmode, true); DAG_id_tag_update(ob->data, 0); |