diff options
Diffstat (limited to 'source/blender/draw/intern')
-rw-r--r-- | source/blender/draw/intern/draw_pbvh.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/intern/draw_pbvh.cc b/source/blender/draw/intern/draw_pbvh.cc index 2f325f7cf62..895abdfc2ac 100644 --- a/source/blender/draw/intern/draw_pbvh.cc +++ b/source/blender/draw/intern/draw_pbvh.cc @@ -558,10 +558,10 @@ struct PBVHBatches { foreach_faces( [&](int /*buffer_i*/, int /*tri_i*/, int /*vertex_i*/, const MLoopTri *tri) { - if (last_poly != tri->poly && args->face_sets) { + if (last_poly != tri->poly) { last_poly = tri->poly; - const int fset = abs(face_sets[tri->poly]); + const int fset = face_sets[tri->poly]; if (fset != args->face_sets_color_default) { BKE_paint_face_set_overlay_color_get( |