Skip to content

Commit

Permalink
fix ropejoint pool leak bug
Browse files Browse the repository at this point in the history
  • Loading branch information
shihaojun committed Sep 22, 2017
1 parent 902bbc3 commit 5efbaa3
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -101,6 +101,8 @@ public void initVelocityConstraints(final SolverData data) {
m_u.setZero();
m_mass = 0.0f;
m_impulse = 0.0f;
pool.pushRot(2);
pool.pushVec2(1);
return;
}

Expand Down

0 comments on commit 5efbaa3

Please sign in to comment.