diff --git a/source/blender/editors/sculpt_paint/sculpt_cloth.cc b/source/blender/editors/sculpt_paint/sculpt_cloth.cc index 7ea1188bcd9..f4186151ece 100644 --- a/source/blender/editors/sculpt_paint/sculpt_cloth.cc +++ b/source/blender/editors/sculpt_paint/sculpt_cloth.cc @@ -892,7 +892,7 @@ static void calc_forces_grids(const Depsgraph &depsgraph, calc_brush_strength_factors(cache, brush, distances, factors); const auto_mask::Cache *automask = auto_mask::active_cache_get(ss); - auto_mask::calc_grids_factors(depsgraph, ob, automask, node, verts, factors); + auto_mask::calc_grids_factors(depsgraph, ob, automask, node, grids, factors); calc_brush_texture_factors(ss, brush, current_positions, factors);