Fix multires not setting pbvh->depth_limit
This commit is contained in:
Joseph Eagar 2021-05-20 17:59:09 -07:00
parent 4352980b0f
commit 3d16099a77
1 changed files with 1 additions and 0 deletions

View File

@ -662,6 +662,7 @@ void BKE_pbvh_build_grids(PBVH *pbvh,
pbvh->gridkey = *key;
pbvh->grid_hidden = grid_hidden;
pbvh->leaf_limit = max_ii(LEAF_LIMIT / (gridsize * gridsize), 1);
pbvh->depth_limit = LEAF_DEPTH_LIMIT;
BB cb;
BB_reset(&cb);