From 32e0612bc3984db0eaca9ffaaf13705751a49c6c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 8 Feb 2012 07:20:49 +0000 Subject: Fix #30102: Vertex and edge incorrect selections Select Linked operator was setting Limit by Seams property automatically depending on current selection mode. But this property only used to be set to truth if selection mode is set to Face, in other cases this property is being reused from previous operator run. This leads to incorrect behavior of selecting linked in vertex mode after this operator was used in face selection mode. --- source/blender/editors/mesh/editmesh_mods.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_mods.c b/source/blender/editors/mesh/editmesh_mods.c index 62ccbb3f5a5..0f374e04378 100644 --- a/source/blender/editors/mesh/editmesh_mods.c +++ b/source/blender/editors/mesh/editmesh_mods.c @@ -2463,6 +2463,8 @@ static void linked_limit_default(bContext *C, wmOperator *op) EditMesh *em= BKE_mesh_get_editmesh(obedit->data); if(em->selectmode == SCE_SELECT_FACE) RNA_boolean_set(op->ptr, "limit", TRUE); + else + RNA_boolean_set(op->ptr, "limit", FALSE); } } -- cgit v1.2.3