Commit: 3f7b585a083573ef5e94784ba5d3d4f4c7b97255
Author: Pablo Dobarro
Date:   Wed Mar 3 22:17:24 2021 +0100
Branches: master
https://developer.blender.org/rB3f7b585a083573ef5e94784ba5d3d4f4c7b97255

Fix crash in boundary brush after refactor

A missing continue in this loop.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D10610

===================================================================

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 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),

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to