diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 12c7fea..ac2246c 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1343,16 +1343,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
1343 | // Check if any objects have reached their targets | 1343 | // Check if any objects have reached their targets |
1344 | CheckAtTargets(); | 1344 | CheckAtTargets(); |
1345 | 1345 | ||
1346 | // Run through all ScenePresences looking for updates | ||
1347 | // Presence updates and queued object updates for each presence are sent to clients | ||
1348 | if (m_frame % m_update_presences == 0) | ||
1349 | m_sceneGraph.UpdatePresences(); | ||
1350 | |||
1351 | // Update SceneObjectGroups that have scheduled themselves for updates | 1346 | // Update SceneObjectGroups that have scheduled themselves for updates |
1352 | // Objects queue their updates onto all scene presences | 1347 | // Objects queue their updates onto all scene presences |
1353 | if (m_frame % m_update_objects == 0) | 1348 | if (m_frame % m_update_objects == 0) |
1354 | m_sceneGraph.UpdateObjectGroups(); | 1349 | m_sceneGraph.UpdateObjectGroups(); |
1355 | 1350 | ||
1351 | // Run through all ScenePresences looking for updates | ||
1352 | // Presence updates and queued object updates for each presence are sent to clients | ||
1353 | if (m_frame % m_update_presences == 0) | ||
1354 | m_sceneGraph.UpdatePresences(); | ||
1355 | |||
1356 | // Coarse locations relate to positions of green dots on the mini-map (on a SecondLife client) | 1356 | // Coarse locations relate to positions of green dots on the mini-map (on a SecondLife client) |
1357 | if (m_frame % m_update_coarse_locations == 0) | 1357 | if (m_frame % m_update_coarse_locations == 0) |
1358 | { | 1358 | { |