Fix T88625: Multiobject UV hiding/unhiding does not work with UV_SYNC_SELECTION
Oversight in {rB470f17f21c06}. Hiding was only done for the first mesh, then the operator finished (in case of UV_SYNC_SELECTION). Now just continue to the next. Maniphest Tasks: T88625 Differential Revision: https://developer.blender.org/D11413
This commit is contained in:
parent
8590cb26a9
commit
dfa3dcbab9
Notes:
blender-bot
2023-02-14 06:00:51 +01:00
Referenced by issue #88449, Blender LTS: Maintenance Task 2.93 Referenced by issue #88625, UV Editor Hide Selected not working on multiple selection Referenced by issue #88614, Mixdown crashes Blender 2.92.0 and 3.0.0 Alpha
|
@ -1471,7 +1471,7 @@ static int uv_hide_exec(bContext *C, wmOperator *op)
|
|||
if (EDBM_mesh_hide(em, swap)) {
|
||||
EDBM_update_generic(ob->data, true, false);
|
||||
}
|
||||
return OPERATOR_FINISHED;
|
||||
continue;
|
||||
}
|
||||
|
||||
BM_ITER_MESH (efa, &iter, em->bm, BM_FACES_OF_MESH) {
|
||||
|
@ -1609,7 +1609,7 @@ static int uv_reveal_exec(bContext *C, wmOperator *op)
|
|||
if (EDBM_mesh_reveal(em, select)) {
|
||||
EDBM_update_generic(ob->data, true, false);
|
||||
}
|
||||
return OPERATOR_FINISHED;
|
||||
continue;
|
||||
}
|
||||
if (use_face_center) {
|
||||
if (em->selectmode == SCE_SELECT_FACE) {
|
||||
|
|
Loading…
Reference in New Issue