From 2f2d33d578755963582784c838acb7c38e96e9ce Mon Sep 17 00:00:00 2001 From: "erwin.coumans" Date: Sat, 13 Mar 2010 20:47:21 +0000 Subject: [PATCH] bugfix related to previous commit (btAssert at the wrong place) fixes for automake build system (remove references to ColladaDemo) --- config.h.in | 4 ---- configure.ac | 2 +- .../CollisionDispatch/btCompoundCollisionAlgorithm.cpp | 3 +-- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/config.h.in b/config.h.in index 5f6908192..c444a0bbb 100644 --- a/config.h.in +++ b/config.h.in @@ -39,10 +39,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H -/* Define to the sub-directory in which libtool stores uninstalled libraries. - */ -#undef LT_OBJDIR - /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O diff --git a/configure.ac b/configure.ac index de9048898..05213ee6b 100644 --- a/configure.ac +++ b/configure.ac @@ -108,7 +108,7 @@ CXXFLAGS="$ARCH_SPECIFIC_CFLAGS $CXXFLAGS $CFLAGS" #---------------------------------------------------------------------------- # Emit generated files. #---------------------------------------------------------------------------- -AC_CONFIG_FILES([bullet.pc Makefile Demos/Makefile Demos/SoftDemo/Makefile Demos/AllBulletDemos/Makefile Demos/MultiThreadedDemo/Makefile Demos/ColladaDemo/Makefile Demos/OpenGL/Makefile Demos/BasicDemo/Makefile Demos/CcdPhysicsDemo/Makefile Demos/VehicleDemo/Makefile Demos/TerrainDemo/Makefile src/Makefile Extras/Makefile]) +AC_CONFIG_FILES([bullet.pc Makefile Demos/Makefile Demos/SoftDemo/Makefile Demos/AllBulletDemos/Makefile Demos/MultiThreadedDemo/Makefile Demos/OpenGL/Makefile Demos/BasicDemo/Makefile Demos/CcdPhysicsDemo/Makefile Demos/VehicleDemo/Makefile Demos/TerrainDemo/Makefile src/Makefile Extras/Makefile]) AC_OUTPUT AC_MSG_NOTICE([ diff --git a/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp b/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp index 889ba3ade..021bd6da9 100644 --- a/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp +++ b/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp @@ -115,9 +115,8 @@ public: void ProcessChildShape(btCollisionShape* childShape,int index) { btAssert(index>=0); - btAssert(indexgetNumChildShapes()); - btCompoundShape* compoundShape = static_cast(m_compoundColObj->getCollisionShape()); + btAssert(indexgetNumChildShapes()); //backup