Blender Git Commit Log

Git Commits -> Revision 3553165

Revision 3553165 by Campbell Barton (master)
May 11, 2016, 05:01 (GMT)
BLI_kdopbvh: Use distance for BLI_bvhtree_ray_cast_all

Pass distance argument so its possible to limit the range we get all hits from.

Other changes:

- Use boundbox test before calling callback, avoids redundant calls.
- Remove meaningless return value.
- Add doc string, explaining purpose of this function.

Commit Details:

Full Hash: 35531657e5bce413539685ac30e22f546486bd89
Parent Commit: a18f4d2
Lines Changed: +35, -26

4 Modified Paths:

/source/blender/blenlib/BLI_kdopbvh.h (+4, -4) (Diff)
/source/blender/blenlib/intern/BLI_kdopbvh.c (+26, -19) (Diff)
/source/blender/editors/physics/particle_edit.c (+3, -1) (Diff)
/source/blender/editors/transform/transform_snap.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021