don't create an empty algorithm when not searching, thanks Marten SvanFeldt for pointing this out
This commit is contained in:
@@ -131,10 +131,6 @@ public:
|
||||
collisionPair.m_algorithm = m_dispatcher->findAlgorithm(colObj0,colObj1);
|
||||
collisionPair.m_userInfo = (void*)3;
|
||||
}
|
||||
} else
|
||||
{
|
||||
//create an empty algorithm
|
||||
collisionPair.m_algorithm = new btEmptyAlgorithm(ci);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user