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
path: root/source
diff options
context:
space:
mode:
authorPablo Dobarro <pablodp606@gmail.com>2021-03-04 00:17:24 +0300
committerPablo Dobarro <pablodp606@gmail.com>2021-03-09 20:56:19 +0300
commit3f7b585a083573ef5e94784ba5d3d4f4c7b97255 (patch)
treee45eb70e75dfce1f416b160a429fec8d2c42b55a /source
parente5c1e13ef09bbb81f6da15d99fe1c49b4fe527ec (diff)
Fix crash in boundary brush after refactor
A missing continue in this loop. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10610
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/sculpt_paint/sculpt_boundary.c1
1 files changed, 1 insertions, 0 deletions
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),