aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index f9b89fb..44ee453 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1232,9 +1232,6 @@ namespace OpenSim.Region.Framework.Scenes
1232 1232
1233 while (!shuttingdown) 1233 while (!shuttingdown)
1234 Update(-1); 1234 Update(-1);
1235
1236 m_lastUpdate = Util.EnvironmentTickCount();
1237 m_firstHeartbeat = false;
1238 } 1235 }
1239 finally 1236 finally
1240 { 1237 {
@@ -1441,6 +1438,9 @@ namespace OpenSim.Region.Framework.Scenes
1441 if (maintc > 0) 1438 if (maintc > 0)
1442 Thread.Sleep(maintc); 1439 Thread.Sleep(maintc);
1443 1440
1441 m_lastUpdate = Util.EnvironmentTickCount();
1442 m_firstHeartbeat = false;
1443
1444 // Optionally warn if a frame takes double the amount of time that it should. 1444 // Optionally warn if a frame takes double the amount of time that it should.
1445// if (Util.EnvironmentTickCountSubtract(m_lastFrameTick, previousFrameTick) > (int)(MinFrameTime * 1000 * 2)) 1445// if (Util.EnvironmentTickCountSubtract(m_lastFrameTick, previousFrameTick) > (int)(MinFrameTime * 1000 * 2))
1446// m_log.WarnFormat( 1446// m_log.WarnFormat(