diff options
author | Pablo Dobarro <pablodp606@gmail.com> | 2020-08-05 18:51:41 +0300 |
---|---|---|
committer | Pablo Dobarro <pablodp606@gmail.com> | 2020-08-05 18:51:41 +0300 |
commit | 927b1e9fa293a34b2de757649aa4568b29863dde (patch) | |
tree | 8baf3f7d73ea7867326bdd3e083378125bc76f78 /source/blender | |
parent | 8fc7c3539adec4eccc9b143147fb60c7c7936ef7 (diff) | |
parent | 531a3f6c4e8575f1b9cc5b8524c92cc7e5895cf4 (diff) |
Merge branch 'blender-v2.90-release'
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/pbvh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/pbvh.c b/source/blender/blenkernel/intern/pbvh.c index 67988427bd2..92a47f24240 100644 --- a/source/blender/blenkernel/intern/pbvh.c +++ b/source/blender/blenkernel/intern/pbvh.c @@ -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); |