ClosthCollision: fully avoid computing BVHTree when we have no collision objects...
authorBastien Montagne <montagne29@wanadoo.fr>
Mon, 3 Sep 2018 15:32:46 +0000 (17:32 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Mon, 3 Sep 2018 15:32:46 +0000 (17:32 +0200)
commit265ec400ab1945cd7bc78d50b7d8f184c01fdd10
treef729674fe017bf8ef846dd284fc8a988c486b51e
parent4da2acae3ab1a40db8be7f7df36da29cfcbf280c
ClosthCollision: fully avoid computing BVHTree when we have no collision objects to test against.

Followup to rBc6bbe6c5aac29, much more elegant solution to the problem. ;)
source/blender/blenkernel/intern/collision.c