minor: rename velocidyDiff -> velocityDiff
parent
3c992b028c
commit
bf5320eb26
|
@ -3257,7 +3257,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
float distanceError = Vector3.Distance(OffsetPosition, expectedPosition);
|
||||
|
||||
float speed = Velocity.Length();
|
||||
float velocidyDiff = Vector3.Distance(lastVelocitySentToAllClients, Velocity);
|
||||
float velocityDiff = Vector3.Distance(lastVelocitySentToAllClients, Velocity);
|
||||
|
||||
// m_log.DebugFormat(
|
||||
// "[SCENE PRESENCE]: Delta-v {0}, lastVelocity {1}, Velocity {2} for {3} in {4}",
|
||||
|
@ -3269,7 +3269,7 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
|
||||
if (speed < 0.01f // allow rotation updates if avatar position is unchanged
|
||||
|| Math.Abs(distanceError) > distanceErrorThreshold
|
||||
|| velocidyDiff > 0.01f) // did velocity change from last update?
|
||||
|| velocityDiff > 0.01f) // did velocity change from last update?
|
||||
{
|
||||
// m_log.DebugFormat(
|
||||
// "[SCENE PRESENCE]: Update triggered with speed {0}, distanceError {1}, distanceThreshold {2}, delta-v {3} for {4} in {5}",
|
||||
|
|
Loading…
Reference in New Issue