diff --git a/examples/DeformableDemo/DeformableSelfCollision.cpp b/examples/DeformableDemo/DeformableSelfCollision.cpp index 7fc8755e9..be09af17c 100644 --- a/examples/DeformableDemo/DeformableSelfCollision.cpp +++ b/examples/DeformableDemo/DeformableSelfCollision.cpp @@ -153,7 +153,6 @@ void DeformableSelfCollision::initPhysics() btVector3(-s, h, +4*s), btVector3(+s, h, +4*s), 10,40, -// 2,2, 0, true, 0.01); diff --git a/src/BulletSoftBody/btDeformableBodySolver.cpp b/src/BulletSoftBody/btDeformableBodySolver.cpp index 21739ccd3..6395365fc 100644 --- a/src/BulletSoftBody/btDeformableBodySolver.cpp +++ b/src/BulletSoftBody/btDeformableBodySolver.cpp @@ -22,7 +22,7 @@ btDeformableBodySolver::btDeformableBodySolver() : m_numNodes(0) , m_cg(20) -, m_maxNewtonIterations(10) +, m_maxNewtonIterations(5) , m_newtonTolerance(1e-4) , m_lineSearch(true) {