Merge branch 'blender-v2.90-release'

This commit is contained in:
Pablo Dobarro 2020-08-05 17:51:41 +02:00
commit 927b1e9fa2
1 changed files with 1 additions and 1 deletions

View File

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