aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-05-30 22:20:53 +0100
committerJustin Clark-Casey (justincc)2014-05-30 22:21:13 +0100
commitbf5320eb26e5abdb64d04c118d1508666dd02513 (patch)
treef99165a2ec1f032e0851cd55f5f77d95e1c27b23 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentminor: Add some commented out logging to ScenePresence.SendTerseUpdateToAllCl... (diff)
downloadopensim-SC_OLD-bf5320eb26e5abdb64d04c118d1508666dd02513.zip
opensim-SC_OLD-bf5320eb26e5abdb64d04c118d1508666dd02513.tar.gz
opensim-SC_OLD-bf5320eb26e5abdb64d04c118d1508666dd02513.tar.bz2
opensim-SC_OLD-bf5320eb26e5abdb64d04c118d1508666dd02513.tar.xz
minor: rename velocidyDiff -> velocityDiff
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 90c95da..37353c1 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3257,7 +3257,7 @@ namespace OpenSim.Region.Framework.Scenes
3257 float distanceError = Vector3.Distance(OffsetPosition, expectedPosition); 3257 float distanceError = Vector3.Distance(OffsetPosition, expectedPosition);
3258 3258
3259 float speed = Velocity.Length(); 3259 float speed = Velocity.Length();
3260 float velocidyDiff = Vector3.Distance(lastVelocitySentToAllClients, Velocity); 3260 float velocityDiff = Vector3.Distance(lastVelocitySentToAllClients, Velocity);
3261 3261
3262// m_log.DebugFormat( 3262// m_log.DebugFormat(
3263// "[SCENE PRESENCE]: Delta-v {0}, lastVelocity {1}, Velocity {2} for {3} in {4}", 3263// "[SCENE PRESENCE]: Delta-v {0}, lastVelocity {1}, Velocity {2} for {3} in {4}",
@@ -3269,7 +3269,7 @@ namespace OpenSim.Region.Framework.Scenes
3269 3269
3270 if (speed < 0.01f // allow rotation updates if avatar position is unchanged 3270 if (speed < 0.01f // allow rotation updates if avatar position is unchanged
3271 || Math.Abs(distanceError) > distanceErrorThreshold 3271 || Math.Abs(distanceError) > distanceErrorThreshold
3272 || velocidyDiff > 0.01f) // did velocity change from last update? 3272 || velocityDiff > 0.01f) // did velocity change from last update?
3273 { 3273 {
3274// m_log.DebugFormat( 3274// m_log.DebugFormat(
3275// "[SCENE PRESENCE]: Update triggered with speed {0}, distanceError {1}, distanceThreshold {2}, delta-v {3} for {4} in {5}", 3275// "[SCENE PRESENCE]: Update triggered with speed {0}, distanceError {1}, distanceThreshold {2}, delta-v {3} for {4} in {5}",