diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/sculpt.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 89998f19476..85a300484c3 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -641,7 +641,6 @@ void SCULPT_visibility_sync_all_from_faces(Object *ob) } case PBVH_BMESH: { BMIter iter; - BMVert *v; BMFace *f; /* Hide all verts and edges attached to faces.*/ @@ -655,7 +654,7 @@ void SCULPT_visibility_sync_all_from_faces(Object *ob) /* Unhide verts and edges attached to visible faces. */ BM_ITER_MESH (f, &iter, ss->bm, BM_FACES_OF_MESH) { - if (!(BM_elem_flag_test(f, BM_ELEM_HIDDEN))) { + if (BM_elem_flag_test(f, BM_ELEM_HIDDEN)) { continue; } |