diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2009-05-28 02:27:10 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2009-05-28 02:27:10 +0400 |
commit | 65d980155d78f75a8f7cea28748fe846cc41fb12 (patch) | |
tree | 7632f7a9f43343eac47815d8b1546a891bb594ef /extern | |
parent | 059b4bf8fc79994a9e7191bc4ecf6b664b48aff3 (diff) |
last-minute Bullet bugfix: accidently commented out a constraint limit test, causing instability for springs.
Diffstat (limited to 'extern')
-rw-r--r-- | extern/bullet2/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/bullet2/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp b/extern/bullet2/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp index cd34724932e..f60eabe2d2b 100644 --- a/extern/bullet2/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp +++ b/extern/bullet2/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp @@ -748,7 +748,7 @@ int btGeneric6DofConstraint::get_limit_motor_info2( if (powered) { info->cfm[srow] = 0.0f; -// if(!limit) + if(!limit) { btScalar tag_vel = rotational ? limot->m_targetVelocity : -limot->m_targetVelocity; |