Fix #128618: Crash when using cloth brush and automasking

Mistake in f4f732be95

Pull Request: https://projects.blender.org/blender/blender/pulls/128713
This commit is contained in:
Sean Kim
2024-10-07 22:34:23 +02:00
committed by Sean Kim
parent 99d73565d6
commit 983ef262d8

View File

@@ -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);