Fix #116000: Face set toggle visibility not working correctly
Toggle visibility is hiding active face sets instead of isoloating it. Pull Request: https://projects.blender.org/blender/blender/pulls/116026
This commit is contained in:
committed by
Pratik Borhade
parent
f70e9cf21c
commit
16705f078c
@@ -1028,7 +1028,7 @@ static int sculpt_face_set_change_visibility_exec(bContext *C, wmOperator *op)
|
||||
else {
|
||||
face_hide_update(object, nodes, [&](const Span<int> faces, MutableSpan<bool> hide) {
|
||||
for (const int i : hide.index_range()) {
|
||||
hide[i] = face_sets[faces[i]] == active_face_set;
|
||||
hide[i] = face_sets[faces[i]] != active_face_set;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user