aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-09-13 21:53:25 +0100
committerJustin Clark-Casey (justincc)2010-09-13 21:53:25 +0100
commitdd803b4f0c50c4ac1eda5ae7622dc91b2a63db3f (patch)
tree8a7ad3d513a52522758f8ee77bc0297e31770ae9 /OpenSim/Region/Framework/Scenes/Scene.cs
parentImprove generic message exception logging. Quieten down complaints about unh... (diff)
downloadopensim-SC_OLD-dd803b4f0c50c4ac1eda5ae7622dc91b2a63db3f.zip
opensim-SC_OLD-dd803b4f0c50c4ac1eda5ae7622dc91b2a63db3f.tar.gz
opensim-SC_OLD-dd803b4f0c50c4ac1eda5ae7622dc91b2a63db3f.tar.bz2
opensim-SC_OLD-dd803b4f0c50c4ac1eda5ae7622dc91b2a63db3f.tar.xz
minor: Add comments which explain what's going on wrt avatar movements at various points in the main scene loop and associated methods
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 6d2ae5a..ef97dfc 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1319,6 +1319,7 @@ namespace OpenSim.Region.Framework.Scenes
1319 if (m_frame % m_update_presences == 0) 1319 if (m_frame % m_update_presences == 0)
1320 m_sceneGraph.UpdatePresences(); 1320 m_sceneGraph.UpdatePresences();
1321 1321
1322 // Coarse locations relate to positions of green dots on the mini-map (on a SecondLife client)
1322 if (m_frame % m_update_coarse_locations == 0) 1323 if (m_frame % m_update_coarse_locations == 0)
1323 { 1324 {
1324 List<Vector3> coarseLocations; 1325 List<Vector3> coarseLocations;
@@ -1336,9 +1337,12 @@ namespace OpenSim.Region.Framework.Scenes
1336 m_sceneGraph.UpdatePreparePhysics(); 1337 m_sceneGraph.UpdatePreparePhysics();
1337 physicsMS2 = Util.EnvironmentTickCountSubtract(tmpPhysicsMS2); 1338 physicsMS2 = Util.EnvironmentTickCountSubtract(tmpPhysicsMS2);
1338 1339
1340 // Apply any pending avatar force input to the avatar's velocity
1339 if (m_frame % m_update_entitymovement == 0) 1341 if (m_frame % m_update_entitymovement == 0)
1340 m_sceneGraph.UpdateScenePresenceMovement(); 1342 m_sceneGraph.UpdateScenePresenceMovement();
1341 1343
1344 // Perform the main physics update. This will do the actual work of moving objects and avatars according to their
1345 // velocity
1342 int tmpPhysicsMS = Util.EnvironmentTickCount(); 1346 int tmpPhysicsMS = Util.EnvironmentTickCount();
1343 if (m_frame % m_update_physics == 0) 1347 if (m_frame % m_update_physics == 0)
1344 { 1348 {