diff --git a/source/blender/editors/uvedit/uvedit_select.cc b/source/blender/editors/uvedit/uvedit_select.cc index 330578c7959..8bf8afbf0b0 100644 --- a/source/blender/editors/uvedit/uvedit_select.cc +++ b/source/blender/editors/uvedit/uvedit_select.cc @@ -4898,6 +4898,12 @@ static wmOperatorStatus uv_select_similar_vert_exec(bContext *C, wmOperator *op) } } if (changed) { + if (ts->uv_flag & UV_SYNC_SELECTION) { + BM_mesh_select_flush(bm); + } + else { + uvedit_select_flush(scene, bm); + } uv_select_tag_update_for_object(depsgraph, ts, ob); } } @@ -5006,6 +5012,12 @@ static wmOperatorStatus uv_select_similar_edge_exec(bContext *C, wmOperator *op) } } if (changed) { + if (ts->uv_flag & UV_SYNC_SELECTION) { + BM_mesh_select_flush(bm); + } + else { + uvedit_select_flush(scene, bm); + } uv_select_tag_update_for_object(depsgraph, ts, ob); } } @@ -5097,6 +5109,12 @@ static wmOperatorStatus uv_select_similar_face_exec(bContext *C, wmOperator *op) } } if (changed) { + if (ts->uv_flag & UV_SYNC_SELECTION) { + BM_mesh_select_flush(bm); + } + else { + uvedit_select_flush(scene, bm); + } uv_select_tag_update_for_object(depsgraph, ts, ob); } } @@ -5208,6 +5226,12 @@ static wmOperatorStatus uv_select_similar_island_exec(bContext *C, wmOperator *o } if (changed) { + if (ts->uv_flag & UV_SYNC_SELECTION) { + BM_mesh_select_flush(bm); + } + else { + uvedit_select_flush(scene, bm); + } uv_select_tag_update_for_object(depsgraph, ts, obedit); } }