Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2009-05-28 02:27:10 +0400
committerErwin Coumans <blender@erwincoumans.com>2009-05-28 02:27:10 +0400
commit65d980155d78f75a8f7cea28748fe846cc41fb12 (patch)
tree7632f7a9f43343eac47815d8b1546a891bb594ef /extern/bullet2/src/BulletDynamics
parent059b4bf8fc79994a9e7191bc4ecf6b664b48aff3 (diff)
last-minute Bullet bugfix: accidently commented out a constraint limit test, causing instability for springs.
Diffstat (limited to 'extern/bullet2/src/BulletDynamics')
-rw-r--r--extern/bullet2/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp2
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;