Remove now superfluous update of m_lastSize
parent
e1cfa846ea
commit
0aabb93ef3
|
@ -2545,10 +2545,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
// grab the latest PhysicsActor velocity, whereas m_velocity is often
|
// grab the latest PhysicsActor velocity, whereas m_velocity is often
|
||||||
// storing a requested force instead of an actual traveling velocity
|
// storing a requested force instead of an actual traveling velocity
|
||||||
if (Appearance.AvatarSize != m_lastSize && !IsLoggingIn)
|
if (Appearance.AvatarSize != m_lastSize && !IsLoggingIn)
|
||||||
{
|
|
||||||
m_lastSize = Appearance.AvatarSize;
|
|
||||||
SendAvatarDataToAllAgents();
|
SendAvatarDataToAllAgents();
|
||||||
}
|
|
||||||
|
|
||||||
if (!Rotation.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) ||
|
if (!Rotation.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) ||
|
||||||
!Velocity.ApproxEquals(m_lastVelocity, VELOCITY_TOLERANCE) ||
|
!Velocity.ApproxEquals(m_lastVelocity, VELOCITY_TOLERANCE) ||
|
||||||
|
|
Loading…
Reference in New Issue