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.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user