aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-08-06 00:34:09 +0100
committerJustin Clark-Casey (justincc)2014-08-06 00:35:26 +0100
commit961cb9cc77e2d056011f9b9d8b3baffd834b28b9 (patch)
tree87258c28fc9fd927b0f0d55403cb7ea83922e724 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentFixed premature closing of the connection in DataSnapshotManager (diff)
downloadopensim-SC_OLD-961cb9cc77e2d056011f9b9d8b3baffd834b28b9.zip
opensim-SC_OLD-961cb9cc77e2d056011f9b9d8b3baffd834b28b9.tar.gz
opensim-SC_OLD-961cb9cc77e2d056011f9b9d8b3baffd834b28b9.tar.bz2
opensim-SC_OLD-961cb9cc77e2d056011f9b9d8b3baffd834b28b9.tar.xz
refactor: Rename recent new Client*UpdateTolerance to Root*UpdateTolerance for better accuracy and consistency with other similar parameters
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index c7db306..e792d3f 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3200,12 +3200,12 @@ namespace OpenSim.Region.Framework.Scenes
3200 // checks on all updates but the ramifications of this would need careful consideration. 3200 // checks on all updates but the ramifications of this would need careful consideration.
3201 bool updateClients 3201 bool updateClients
3202 = IsSatOnObject && (Rotation != m_lastRotation || Velocity != m_lastVelocity || m_pos != m_lastPosition); 3202 = IsSatOnObject && (Rotation != m_lastRotation || Velocity != m_lastVelocity || m_pos != m_lastPosition);
3203 3203
3204 if (!updateClients) 3204 if (!updateClients)
3205 updateClients 3205 updateClients
3206 = !Rotation.ApproxEquals(m_lastRotation, Scene.ClientRotationUpdateTolerance) 3206 = !Rotation.ApproxEquals(m_lastRotation, Scene.RootRotationUpdateTolerance)
3207 || !Velocity.ApproxEquals(m_lastVelocity, Scene.ClientVelocityUpdateTolerance) 3207 || !Velocity.ApproxEquals(m_lastVelocity, Scene.RootVelocityUpdateTolerance)
3208 || !m_pos.ApproxEquals(m_lastPosition, Scene.ClientPositionUpdateTolerance); 3208 || !m_pos.ApproxEquals(m_lastPosition, Scene.RootPositionUpdateTolerance);
3209 3209
3210 if (updateClients) 3210 if (updateClients)
3211 { 3211 {