Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Eagar <joeedh@gmail.com>2022-10-01 01:32:01 +0300
committerJoseph Eagar <joeedh@gmail.com>2022-10-01 01:32:01 +0300
commit991a35b844bc3b9366551ec23d3a38ee614c1048 (patch)
tree472e11c2954620f1eeac3fdba4d39dbe44e19478
parent6b9f45c1d1bfafffe6fe251ac7330bc5e5ba8ec2 (diff)
Sculpt: fix crash in relax face sets brush
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_face_set.cc2
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;
}