aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-05-30 22:20:53 +0100
committerJustin Clark-Casey2014-06-10 20:21:52 +0100
commit88e9cd0eee236f72cc88f2a410290182dd85e8ae (patch)
tree80bede159f64447255e20a2788538c5bc12a7d45 /OpenSim
parentminor: Add some commented out logging to ScenePresence.SendTerseUpdateToAllCl... (diff)
downloadopensim-SC_OLD-88e9cd0eee236f72cc88f2a410290182dd85e8ae.zip
opensim-SC_OLD-88e9cd0eee236f72cc88f2a410290182dd85e8ae.tar.gz
opensim-SC_OLD-88e9cd0eee236f72cc88f2a410290182dd85e8ae.tar.bz2
opensim-SC_OLD-88e9cd0eee236f72cc88f2a410290182dd85e8ae.tar.xz
minor: rename velocidyDiff -> velocityDiff
Diffstat (limited to 'OpenSim')
-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}",