bugfix related to previous commit (btAssert at the wrong place)

fixes for automake build system (remove references to ColladaDemo)
This commit is contained in:
erwin.coumans
2010-03-13 20:47:21 +00:00
parent 192a2b38e9
commit 2f2d33d578
3 changed files with 2 additions and 7 deletions

View File

@@ -115,9 +115,8 @@ public:
void ProcessChildShape(btCollisionShape* childShape,int index)
{
btAssert(index>=0);
btAssert(index<compoundShape->getNumChildShapes());
btCompoundShape* compoundShape = static_cast<btCompoundShape*>(m_compoundColObj->getCollisionShape());
btAssert(index<compoundShape->getNumChildShapes());
//backup