fix elementRecount never being reset to false, fixes #417
This commit is contained in:
parent
8830120479
commit
2d7934bca6
@ -4954,6 +4954,8 @@ void Simulation::RecalcFreeParticles()
|
||||
parts[lastPartUnused].life = parts_lastActiveIndex+1;
|
||||
}
|
||||
parts_lastActiveIndex = lastPartUsed;
|
||||
if (elementRecount)
|
||||
elementRecount = false;
|
||||
}
|
||||
|
||||
void Simulation::CheckStacking()
|
||||
|
Loading…
Reference in New Issue
Block a user