one more bugfix, related to 6dof constrains, inside Bullet
[blender.git] / extern / bullet2 / src / BulletDynamics / ConstraintSolver / btGeneric6DofConstraint.cpp
index 4d69fe75f8388ebe02751c2d2a782d052809d879..38e81688f02aa735552d0f7f8393b95202d4abf1 100644 (file)
@@ -731,7 +731,7 @@ int btGeneric6DofConstraint::get_limit_motor_info2(
             J2[srow+1] = -ax1[1];
             J2[srow+2] = -ax1[2];
         }
-        if((!rotational) && limit)
+        if((!rotational))
         {
                        btVector3 ltd;  // Linear Torque Decoupling vector
                        btVector3 c = m_calculatedTransformB.getOrigin() - body0->getCenterOfMassPosition();