Remove now superfluous update of m_lastSize

avinationmerge
Melanie 2013-01-08 14:00:40 +01:00
parent e1cfa846ea
commit 0aabb93ef3
1 changed files with 0 additions and 3 deletions

View File

@ -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) ||