Blender Git Loki
Git Commits -> Revision 2d2875f
Revision 2d2875f by Germano Cavalcante (master) May 8, 2018, 23:31 (GMT) |
BKE: bvhutils: Always return NULL when the BVHtree has no leafs. BLI_bvhkdop functions were not made to work with zero-leaf trees. Perhaps a better solution would be to modify BLI_bvhkdop to work with zero leaf trees. But this solution of returning NULL was already used for bvhtrees of looptris. |
Commit Details:
Full Hash: 2d2875fc158d2fbcade1d335f2ca3921cb65d87e
Parent Commit: d1cd872
Lines Changed: +36, -32
1 Modified Path:
/source/blender/blenkernel/intern/bvhutils.c (+36, -32) (Diff)