From 5adc9dd69f024c37d16d537eff42b9d4ccdd2e30 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Fri, 22 Sep 2023 09:39:01 +0200 Subject: [PATCH] Fix #112664: Expand face sets freeze when cursor is on mesh boundaries Mistake/typo in f4505e7b0ac (not actually setting the bit). --- source/blender/editors/sculpt_paint/sculpt_expand.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/sculpt_paint/sculpt_expand.cc b/source/blender/editors/sculpt_paint/sculpt_expand.cc index 6ec5518ba9a..16006b71425 100644 --- a/source/blender/editors/sculpt_paint/sculpt_expand.cc +++ b/source/blender/editors/sculpt_paint/sculpt_expand.cc @@ -676,7 +676,7 @@ static float *sculpt_expand_boundary_topology_falloff_create(Object *ob, const P continue; } dists[ni.index] = dists[v_next_i] + 1.0f; - visited_verts[ni.index]; + visited_verts[ni.index].set(); BLI_gsqueue_push(queue, &ni.vertex); } SCULPT_VERTEX_NEIGHBORS_ITER_END(ni); -- 2.30.2