diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
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}", |