diff options
Diffstat (limited to 'extern/bullet2/src/BulletDynamics/ConstraintSolver')
-rw-r--r-- | extern/bullet2/src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extern/bullet2/src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp b/extern/bullet2/src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp index 7a3e9140c8d..7b2a9ba6244 100644 --- a/extern/bullet2/src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp +++ b/extern/bullet2/src/BulletDynamics/ConstraintSolver/btHingeConstraint.cpp @@ -200,6 +200,7 @@ void btHingeConstraint::solveConstraint(btScalar timeStep) btScalar damping = 1.f; //linear part + if (!m_angularOnly) { for (int i=0;i<3;i++) { @@ -226,7 +227,7 @@ void btHingeConstraint::solveConstraint(btScalar timeStep) } } - if (!m_angularOnly) + { ///solve angular part |