diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-26 22:45:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-26 22:45:05 +0400 |
commit | 61ad024b7e67ad9b2c52f987ffb07459f851afc5 (patch) | |
tree | e02c7839bb282fb721923e7814b2e1eab590018c /source/blender/editors/mesh/editmesh_loopcut.c | |
parent | d2f61b36f924b7edba626bf612bc6b8195b8531a (diff) |
fix for recent commit that allowed incorrectly flushed face selection.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_loopcut.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_loopcut.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_loopcut.c b/source/blender/editors/mesh/editmesh_loopcut.c index 98243724fda..8131ef41c69 100644 --- a/source/blender/editors/mesh/editmesh_loopcut.c +++ b/source/blender/editors/mesh/editmesh_loopcut.c @@ -301,8 +301,8 @@ static void ringsel_finish(bContext *C, wmOperator *op) EDBM_update_generic(em, false, true); /* we cant slide multiple edges in vertex select mode */ - if ((cuts > 1) && (em->selectmode & SCE_SELECT_VERTEX)) { - /* dont flush vertex selection when we have multiple cuts, otherwise we can't slide */ + if (op->opm && (cuts > 1) && (em->selectmode & SCE_SELECT_VERTEX)) { + EDBM_selectmode_disable(lcd->vc.scene, em, SCE_SELECT_VERTEX, SCE_SELECT_EDGE); } /* force edge slide to edge select mode in in face select mode */ else if (EDBM_selectmode_disable(lcd->vc.scene, em, SCE_SELECT_FACE, SCE_SELECT_EDGE)) { |