Skip to content

Commit

Permalink
elements are only recounted when unpaused, apparently
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed May 10, 2017
1 parent 2d7934b commit b9c658a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation/Simulation.cpp
Expand Up @@ -4954,7 +4954,7 @@ void Simulation::RecalcFreeParticles()
parts[lastPartUnused].life = parts_lastActiveIndex+1;
}
parts_lastActiveIndex = lastPartUsed;
if (elementRecount)
if (elementRecount && !sys_pause || framerender)
elementRecount = false;
}

Expand Down

0 comments on commit b9c658a

Please sign in to comment.