diff options
author | Melanie | 2010-09-14 22:15:16 +0100 |
---|---|---|
committer | Melanie | 2010-09-14 22:15:16 +0100 |
commit | e27f59cf422e4afef1b76af29d49f2c2770e3281 (patch) | |
tree | 4a073daf3f962c8c34eab17a2d896521083fd82a /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Fix merge issues (diff) | |
download | opensim-SC_OLD-e27f59cf422e4afef1b76af29d49f2c2770e3281.zip opensim-SC_OLD-e27f59cf422e4afef1b76af29d49f2c2770e3281.tar.gz opensim-SC_OLD-e27f59cf422e4afef1b76af29d49f2c2770e3281.tar.bz2 opensim-SC_OLD-e27f59cf422e4afef1b76af29d49f2c2770e3281.tar.xz |
reorder some code to avoid merge issues in the future
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-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 | { |