Sculpt: Fix T100479: Memory corruption in sculpt_boundary_edit_data_init

This commit is contained in:
Joseph Eagar 2022-08-31 10:19:34 -07:00
parent 70f1711324
commit d7b33cd8c8
Notes: blender-bot 2023-02-14 11:28:39 +01:00
Referenced by issue #101179, Regression: Expand operations cause crash when they start from boundary of mesh
Referenced by issue #100479, Regression: Expand operator on open boundaries causes crash
1 changed files with 1 additions and 1 deletions

View File

@ -423,7 +423,7 @@ static void sculpt_boundary_edit_data_init(SculptSession *ss,
/* Copy the new vertices to the queue to be processed in the next iteration. */
while (!BLI_gsqueue_is_empty(next_iteration)) {
int next_v;
PBVHVertRef next_v;
BLI_gsqueue_pop(next_iteration, &next_v);
BLI_gsqueue_push(current_iteration, &next_v);
}