Minor fixes in Bullet/constraint solving
[blender-staging.git] / extern / bullet2 / src / BulletDynamics / ConstraintSolver / btSequentialImpulseConstraintSolver.cpp
index 685a812d427f6a8cfaaf3fe4141c44db1e8bc25f..373cdfa26c7da914ed79239d03261a63247c916f 100644 (file)
@@ -490,7 +490,7 @@ void        btSequentialImpulseConstraintSolver::convertContact(btPersistentManifold* m
 
 
                                ///warm starting (or zero if disabled)
-                               if (0)//infoGlobal.m_solverMode & SOLVER_USE_WARMSTARTING)
+                               if (infoGlobal.m_solverMode & SOLVER_USE_WARMSTARTING)
                                {
                                        solverConstraint.m_appliedImpulse = cp.m_appliedImpulse * infoGlobal.m_warmstartingFactor;
                                        if (rb0)