Fix UV select similar missing selection flushing calls
Selecting vertices/edges wasn't flushing the selection to faces.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user