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[lastPartUnused].life = parts_lastActiveIndex+1;
|
||||||
}
|
}
|
||||||
parts_lastActiveIndex = lastPartUsed;
|
parts_lastActiveIndex = lastPartUsed;
|
||||||
|
if (elementRecount)
|
||||||
|
elementRecount = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Simulation::CheckStacking()
|
void Simulation::CheckStacking()
|
||||||
|
Reference in New Issue
Block a user