bugfix: copy/paste bug merged from Bullet main repo into Blender, hope it still can...
authorErwin Coumans <blender@erwincoumans.com>
Tue, 14 Oct 2008 06:14:25 +0000 (06:14 +0000)
committerErwin Coumans <blender@erwincoumans.com>
Tue, 14 Oct 2008 06:14:25 +0000 (06:14 +0000)
extern/bullet2/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp

index 2911d52e5ea470e42919ce4fae34fd561550a2e5..41e336c9d17cc1e02db28baf95b8b8925a962a34 100644 (file)
@@ -1015,7 +1015,7 @@ btScalar btSequentialImpulseConstraintSolver::solveGroupCacheFriendly(btCollisio
                btAssert(pt);
                pt->m_appliedImpulse = solveManifold.m_appliedImpulse;
                pt->m_appliedImpulseLateral1 = m_tmpSolverFrictionConstraintPool[solveManifold.m_frictionIndex].m_appliedImpulse;
-               pt->m_appliedImpulseLateral1 = m_tmpSolverFrictionConstraintPool[solveManifold.m_frictionIndex+1].m_appliedImpulse;
+               pt->m_appliedImpulseLateral2 = m_tmpSolverFrictionConstraintPool[solveManifold.m_frictionIndex+1].m_appliedImpulse;
 
                //do a callback here?