diff options
author | Joseph Eagar <joeedh@gmail.com> | 2022-10-01 01:32:01 +0300 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2022-10-01 01:32:01 +0300 |
commit | 991a35b844bc3b9366551ec23d3a38ee614c1048 (patch) | |
tree | 472e11c2954620f1eeac3fdba4d39dbe44e19478 /source/blender | |
parent | 6b9f45c1d1bfafffe6fe251ac7330bc5e5ba8ec2 (diff) |
Sculpt: fix crash in relax face sets brush
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_face_set.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_face_set.cc b/source/blender/editors/sculpt_paint/sculpt_face_set.cc index 962ecf42691..fb8d72f02bd 100644 --- a/source/blender/editors/sculpt_paint/sculpt_face_set.cc +++ b/source/blender/editors/sculpt_paint/sculpt_face_set.cc @@ -217,6 +217,8 @@ static void do_relax_face_sets_brush_task_cb_ex(void *__restrict userdata, data->ob, ss, ss->cache->automasking, &automask_data, data->nodes[n]); BKE_pbvh_vertex_iter_begin (ss->pbvh, data->nodes[n], vd, PBVH_ITER_UNIQUE) { + SCULPT_automasking_node_update(ss, &automask_data, &vd); + if (!sculpt_brush_test_sq_fn(&test, vd.co)) { continue; } |