Merge pull request #1090 from gregeryb/patch-3
Collider object not necessary
This commit is contained in:
@@ -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]);
|
||||||
|
|||||||
Reference in New Issue
Block a user