diff options
author | Germano Cavalcante <mano-wii> | 2022-04-06 00:44:52 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2022-04-06 01:32:56 +0300 |
commit | 684b95804e8fe8a78488b96b02285b2854809ff9 (patch) | |
tree | 3ff138ba11c32f3c0d112a6a0192c1f33a8d9af6 /source/blender/blenkernel/intern/rigidbody.c | |
parent | bb7e3c2b563f752c0bc76631fd2804768c6d3847 (diff) |
Refactor: remove cache parameters from `bvhtree_from_` functions
The `BVHCacheType bvh_cache_type` parameter defines specific
`BVHTrees` that cannot be customized.
So it doesn't make sense to pass this value to any
`*bvhtree_from_[...]_ex` function as the `BVHTrees` created in these
cases are custom and cannot be saved in the cache.
This also resulted in a nice cleanup in the code.
Differential Revision: https://developer.blender.org/D14479
Diffstat (limited to 'source/blender/blenkernel/intern/rigidbody.c')
0 files changed, 0 insertions, 0 deletions