diff --git a/source/blender/editors/sculpt_paint/paint_mask.cc b/source/blender/editors/sculpt_paint/paint_mask.cc index faa5c855f51..99272543602 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;