From 3f7b585a083573ef5e94784ba5d3d4f4c7b97255 Mon Sep 17 00:00:00 2001 From: Pablo Dobarro Date: Wed, 3 Mar 2021 22:17:24 +0100 Subject: Fix crash in boundary brush after refactor A missing continue in this loop. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10610 --- source/blender/editors/sculpt_paint/sculpt_boundary.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source') diff --git a/source/blender/editors/sculpt_paint/sculpt_boundary.c b/source/blender/editors/sculpt_paint/sculpt_boundary.c index f1fb402ae41..f79621ccffd 100644 --- a/source/blender/editors/sculpt_paint/sculpt_boundary.c +++ b/source/blender/editors/sculpt_paint/sculpt_boundary.c @@ -589,6 +589,7 @@ static void sculpt_boundary_slide_data_init(SculptSession *ss, SculptBoundary *b for (int i = 0; i < totvert; i++) { if (boundary->edit_info[i].num_propagation_steps != boundary->max_propagation_steps) { + continue; } sub_v3_v3v3(boundary->slide.directions[boundary->edit_info[i].original_vertex], SCULPT_vertex_co_get(ss, boundary->edit_info[i].original_vertex), -- cgit v1.2.3