Permalink
Browse files

fix elementRecount never being reset to false, fixes #417

  • Loading branch information...
jacob1 committed May 10, 2017
1 parent 8830120 commit 2d7934bca6c25e5d4750daf3453bdea4ae06fb09
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/simulation/Simulation.cpp
@@ -4954,6 +4954,8 @@ void Simulation::RecalcFreeParticles()
parts[lastPartUnused].life = parts_lastActiveIndex+1;
}
parts_lastActiveIndex = lastPartUsed;
if (elementRecount)
elementRecount = false;
}
void Simulation::CheckStacking()

0 comments on commit 2d7934b

Please sign in to comment.