diff --git a/source/blender/editors/sculpt_paint/paint_mask.cc b/source/blender/editors/sculpt_paint/paint_mask.cc index 9f34764777d..a4bd5805791 100644 --- a/source/blender/editors/sculpt_paint/paint_mask.cc +++ b/source/blender/editors/sculpt_paint/paint_mask.cc @@ -256,7 +256,7 @@ static void fill_mask_mesh(Object &object, const float value, const Span mask = attributes.lookup_or_add_for_write_only_span( + bke::SpanAttributeWriter mask = attributes.lookup_or_add_for_write_span( ".sculpt_mask", bke::AttrDomain::Point); threading::EnumerableThreadSpecific> all_index_data;