diff --git a/Demos/OpenGL/DemoApplication.cpp b/Demos/OpenGL/DemoApplication.cpp index 1619ba409..2e02fda70 100644 --- a/Demos/OpenGL/DemoApplication.cpp +++ b/Demos/OpenGL/DemoApplication.cpp @@ -24,7 +24,7 @@ subject to the following restrictions: #include "BulletCollision/CollisionShapes/btSphereShape.h" #include "BulletCollision/CollisionShapes/btCompoundShape.h" #include "BulletCollision/CollisionShapes/btUniformScalingShape.h" - +#include "BulletDynamics/ConstraintSolver/btConstraintSolver.h" #include "GL_ShapeDrawer.h" #include "LinearMath/btQuickprof.h" #include "LinearMath/btDefaultMotionState.h" @@ -1311,6 +1311,7 @@ void DemoApplication::clientResetScene() } m_dynamicsWorld->getBroadphase()->resetPool(getDynamicsWorld()->getDispatcher()); + m_dynamicsWorld->getConstraintSolver()->reset(); for ( i=0;i= 1400) && (!defined (BT_USE_DOUBLE_PRECISION)) +#ifdef BT_USE_SSE #define DBVT_SELECT_IMPL DBVT_IMPL_SSE #define DBVT_MERGE_IMPL DBVT_IMPL_SSE #define DBVT_INT0_IMPL DBVT_IMPL_SSE