[Bf-blender-cvs] [75709e4d57b] sculpt-dev: Fix crash in Boundary brush expand mode after refactor
Pablo Dobarro
noreply at git.blender.org
Mon Mar 8 17:44:49 CET 2021
Commit: 75709e4d57b2d9035559c88469d94d5da345ab6f
Author: Pablo Dobarro
Date: Wed Mar 3 22:13:19 2021 +0100
Branches: sculpt-dev
https://developer.blender.org/rB75709e4d57b2d9035559c88469d94d5da345ab6f
Fix crash in Boundary brush expand mode after refactor
===================================================================
M source/blender/editors/sculpt_paint/sculpt_boundary.c
===================================================================
diff --git a/source/blender/editors/sculpt_paint/sculpt_boundary.c b/source/blender/editors/sculpt_paint/sculpt_boundary.c
index 9ead1ddbf02..f79b8439bc6 100644
--- a/source/blender/editors/sculpt_paint/sculpt_boundary.c
+++ b/source/blender/editors/sculpt_paint/sculpt_boundary.c
@@ -591,6 +591,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),
More information about the Bf-blender-cvs
mailing list