don't create an empty algorithm when not searching, thanks Marten SvanFeldt for pointing this out
This commit is contained in:
1 parent
b2c29342fa
commit
63d349ad5e
1 file changed
+1
-5
@@ -131,11 +131,7 @@ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user