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:
authorNicholas Bishop <nicholasbishop@gmail.com>2012-06-11 14:14:46 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2012-06-11 14:14:46 +0400
commitd214b140522424a6794a0f70b2bd738ec41a7005 (patch)
treebe46a073d8504e1db04af2fce31c00987caab0c5 /source/blender/editors/mesh/editmesh_loopcut.c
parent9a92b0c5c42ff5960efea18bf83526dd815aa64b (diff)
Add missing/incorrect selection flushes.
Added selection flush after loop cut, changed select_linked_pick's flush to use the em selection flag. Fixes bug [#31715] Cases where verts and edges are selected but not relevant faces
Diffstat (limited to 'source/blender/editors/mesh/editmesh_loopcut.c')
-rw-r--r--source/blender/editors/mesh/editmesh_loopcut.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c
index 185c804661d..15e3033b7eb 100644
--- a/source/blender/editors/mesh/editmesh_loopcut.c
+++ b/source/blender/editors/mesh/editmesh_loopcut.c
@@ -329,6 +329,8 @@ static void ringsel_finish(bContext *C, wmOperator *op)
WM_event_add_notifier(C, NC_SCENE | ND_TOOLSETTINGS, CTX_data_scene(C));
}
+ else
+ EDBM_selectmode_flush(lcd->em);
WM_event_add_notifier(C, NC_GEOM | ND_SELECT | ND_DATA, lcd->ob->data);
DAG_id_tag_update(lcd->ob->data, 0);