diff options
Merge commit '128d8dfd8b355f84a71e2093e942937ca720c5c6' into bigmerge
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 8aadcc1..503b745 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -178,7 +178,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
178 | 178 | ||
179 | private int m_update_physics = 1; | 179 | private int m_update_physics = 1; |
180 | private int m_update_entitymovement = 1; | 180 | private int m_update_entitymovement = 1; |
181 | private int m_update_objects = 1; // Update objects which have scheduled themselves for updates | 181 | private int m_update_objects = 1; |
182 | private int m_update_temp_cleaning = 1000; | ||
182 | private int m_update_presences = 1; // Update scene presence movements | 183 | private int m_update_presences = 1; // Update scene presence movements |
183 | private int m_update_events = 1; | 184 | private int m_update_events = 1; |
184 | private int m_update_backup = 200; | 185 | private int m_update_backup = 200; |
@@ -1212,9 +1213,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
1212 | int tmpFrameMS = maintc; | 1213 | int tmpFrameMS = maintc; |
1213 | agentMS = tempOnRezMS = eventMS = backupMS = terrainMS = landMS = 0; | 1214 | agentMS = tempOnRezMS = eventMS = backupMS = terrainMS = landMS = 0; |
1214 | 1215 | ||
1215 | // TODO: ADD AGENT TIME HERE | ||
1216 | // Increment the frame counter | ||
1217 | ++Frame; | 1216 | ++Frame; |
1217 | |||
1218 | try | 1218 | try |
1219 | { | 1219 | { |
1220 | int tmpAgentMS = Util.EnvironmentTickCount(); | 1220 | int tmpAgentMS = Util.EnvironmentTickCount(); |
@@ -1273,7 +1273,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1273 | physicsMS = Util.EnvironmentTickCountSubtract(tmpPhysicsMS); | 1273 | physicsMS = Util.EnvironmentTickCountSubtract(tmpPhysicsMS); |
1274 | 1274 | ||
1275 | // Delete temp-on-rez stuff | 1275 | // Delete temp-on-rez stuff |
1276 | if (Frame % 1000 == 0 && !m_cleaningTemps) | 1276 | if (Frame % m_update_temp_cleaning == 0 && !m_cleaningTemps) |
1277 | { | 1277 | { |
1278 | int tmpTempOnRezMS = Util.EnvironmentTickCount(); | 1278 | int tmpTempOnRezMS = Util.EnvironmentTickCount(); |
1279 | m_cleaningTemps = true; | 1279 | m_cleaningTemps = true; |