[Bf-blender-cvs] [991a35b844b] master: Sculpt: fix crash in relax face sets brush
Joseph Eagar
noreply at git.blender.org
Sat Oct 1 00:32:36 CEST 2022
Commit: 991a35b844bc3b9366551ec23d3a38ee614c1048
Author: Joseph Eagar
Date: Fri Sep 30 15:32:01 2022 -0700
Branches: master
https://developer.blender.org/rB991a35b844bc3b9366551ec23d3a38ee614c1048
Sculpt: fix crash in relax face sets brush
===================================================================
M source/blender/editors/sculpt_paint/sculpt_face_set.cc
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list