diff --git a/source/blender/editors/sculpt_paint/sculpt.cc b/source/blender/editors/sculpt_paint/sculpt.cc index ac77a8b1c90..132e281cec7 100644 --- a/source/blender/editors/sculpt_paint/sculpt.cc +++ b/source/blender/editors/sculpt_paint/sculpt.cc @@ -311,7 +311,7 @@ int vert_face_set_get(const GroupedSpan vert_to_face_map, const Span face_sets, const int vert) { - int face_set = std::numeric_limits::lowest(); + int face_set = SCULPT_FACE_SET_NONE; for (const int face : vert_to_face_map[vert]) { face_set = std::max(face_sets[face], face_set); }