diff options
author | Melanie | 2010-09-13 23:35:27 +0100 |
---|---|---|
committer | Melanie | 2010-09-13 23:35:27 +0100 |
commit | b2e50474dcc0e6c762cd3455fef73874e5ce4906 (patch) | |
tree | d0cca66cc22920d9b012e883f30c7a40ab5e05c2 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Add a missing parenthesis (diff) | |
parent | Comment out SOG storing debug log message (diff) | |
download | opensim-SC-b2e50474dcc0e6c762cd3455fef73874e5ce4906.zip opensim-SC-b2e50474dcc0e6c762cd3455fef73874e5ce4906.tar.gz opensim-SC-b2e50474dcc0e6c762cd3455fef73874e5ce4906.tar.bz2 opensim-SC-b2e50474dcc0e6c762cd3455fef73874e5ce4906.tar.xz |
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
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 | { |