Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-03-13 18:02:05 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-03-13 18:08:29 +0300
commitbe25a0faa7ff0f64e9d75f5f48c042bb8595f142 (patch)
treea5e8f5d518bd0c4544078d2d5f55a07d988932b4 /source/blender/editors/mesh/mesh_data.c
parentbf8f5f51428dd22d06d33fa6c990f8eaccd80b5e (diff)
Cleanup: pass selectmode directly
Pass instead of editmesh or toolsettings. Needed for multi edit-mode
Diffstat (limited to 'source/blender/editors/mesh/mesh_data.c')
-rw-r--r--source/blender/editors/mesh/mesh_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/mesh_data.c b/source/blender/editors/mesh/mesh_data.c
index cfeda36214c..84d2ac3cef1 100644
--- a/source/blender/editors/mesh/mesh_data.c
+++ b/source/blender/editors/mesh/mesh_data.c
@@ -596,7 +596,7 @@ static int drop_named_image_invoke(bContext *C, wmOperator *op, const wmEvent *e
obedit = base->object;
me = obedit->data;
if (me->edit_btmesh == NULL) {
- EDBM_mesh_make(scene->toolsettings, obedit, false);
+ EDBM_mesh_make(obedit, scene->toolsettings->selectmode, false);
exitmode = 1;
}
if (me->edit_btmesh == NULL)