BKE bvhtree: Add `tree_type` parameter to `bvhtree_from_mesh_get`.
authorGermano <germano.costa@ig.com.br>
Thu, 3 May 2018 17:26:39 +0000 (14:26 -0300)
committerGermano <germano.costa@ig.com.br>
Thu, 3 May 2018 17:26:39 +0000 (14:26 -0300)
commitac19483e632bd3e2388a6a0de2db753efe33a860
treea7b7433b51a8501875ab142658749b3ded6b224d
parenta5d0597b927d90c3621f8a40b0703cc158800fb8
BKE bvhtree: Add `tree_type` parameter to `bvhtree_from_mesh_get`.

This will allow greater control of the bvhtrees that are obtained, and helps identify problems.
It is also an additional step to unify the functions.
13 files changed:
source/blender/blenkernel/BKE_bvhutils.h
source/blender/blenkernel/intern/bvhutils.c
source/blender/blenkernel/intern/constraint.c
source/blender/blenkernel/intern/mesh_remap.c
source/blender/blenkernel/intern/shrinkwrap.c
source/blender/blenlib/BLI_kdopbvh.h
source/blender/blenlib/intern/BLI_kdopbvh.c
source/blender/editors/physics/particle_object.c
source/blender/editors/transform/transform_snap_object.c
source/blender/modifiers/intern/MOD_surface.c
source/blender/modifiers/intern/MOD_surfacedeform.c
source/blender/modifiers/intern/MOD_weightvgproximity.c
source/blender/render/intern/source/bake_api.c