Large snapshot update (part 2)

This commit is contained in:
Aleric Inglewood
2012-12-14 01:00:27 +01:00
parent d8bc84adb1
commit 15b6593143
21 changed files with 884 additions and 495 deletions

View File

@@ -682,6 +682,12 @@ void LLWorld::updateRegions(F32 max_update_time)
void LLWorld::updateParticles()
{
static const LLCachedControl<bool> freeze_time("FreezeTime",false);
if (freeze_time)
{
// don't move particles in snapshot mode
return;
}
LLViewerPartSim::getInstance()->updateSimulation();
}