Fix crash in Boundary brush expand mode after refactor

This commit is contained in:
Pablo Dobarro 2021-03-03 22:13:19 +01:00
parent 6a74211f99
commit 75709e4d57
1 changed files with 1 additions and 0 deletions

View File

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