From 00ae0296e7fda30f00028d49ae08651c2c8f51b5 Mon Sep 17 00:00:00 2001 From: Irlan Date: Thu, 4 Apr 2019 10:12:56 -0300 Subject: [PATCH] Applied a bugfix. --- src/bounce/cloth/spring_force.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bounce/cloth/spring_force.cpp b/src/bounce/cloth/spring_force.cpp index 3e68424..723b1ac 100644 --- a/src/bounce/cloth/spring_force.cpp +++ b/src/bounce/cloth/spring_force.cpp @@ -77,7 +77,7 @@ void b3SpringForce::Apply(const b3ClothSolverData* data) float32 L = b3Length(dx); - if (L >= m_L0) + if (L > m_L0) { // Apply tension b3Vec3 n = dx / L;