last-minute Bullet bugfix: accidently commented out a constraint limit test, causing...
authorErwin Coumans <blender@erwincoumans.com>
Wed, 27 May 2009 22:27:10 +0000 (22:27 +0000)
committerErwin Coumans <blender@erwincoumans.com>
Wed, 27 May 2009 22:27:10 +0000 (22:27 +0000)
extern/bullet2/src/BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp

index cd34724932ebaa1c2fd02a11a3d72b45e9f46317..f60eabe2d2b692998d5e98bdc896e23b93e15aeb 100644 (file)
@@ -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;