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:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-02-08 11:20:49 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-02-08 11:20:49 +0400
commit32e0612bc3984db0eaca9ffaaf13705751a49c6c (patch)
tree45ce7fd7f5d9de3a0f59a9b0f40e5ae33bb7da38 /source/blender/editors/mesh
parent054e10ac135eee0eb6d4a0e3ca5a3e8ae5a94cea (diff)
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.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_mods.c2
1 files changed, 2 insertions, 0 deletions
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);
}
}