Merge pull request #1090 from gregeryb/patch-3

Collider object not necessary
This commit is contained in:
erwincoumans
2017-05-04 20:34:21 +00:00
committed by GitHub

View File

@@ -544,7 +544,9 @@ void btDbvtBroadphase::collide(btDispatcher* dispatcher)
btDbvtProxy* current=m_stageRoots[m_stageCurrent]; btDbvtProxy* current=m_stageRoots[m_stageCurrent];
if(current) if(current)
{ {
#if DBVT_BP_ACCURATESLEEPING
btDbvtTreeCollider collider(this); btDbvtTreeCollider collider(this);
#endif
do { do {
btDbvtProxy* next=current->links[1]; btDbvtProxy* next=current->links[1];
listremove(current,m_stageRoots[current->stage]); listremove(current,m_stageRoots[current->stage]);