diff options
author | Melanie | 2013-01-08 14:00:40 +0100 |
---|---|---|
committer | Melanie | 2013-01-08 14:00:40 +0100 |
commit | 0aabb93ef3aa6217cb5f3312f864e46465204d48 (patch) | |
tree | 31fe592d54a15b94ef51967b68839add561ae8af /OpenSim/Region | |
parent | Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff) | |
download | opensim-SC_OLD-0aabb93ef3aa6217cb5f3312f864e46465204d48.zip opensim-SC_OLD-0aabb93ef3aa6217cb5f3312f864e46465204d48.tar.gz opensim-SC_OLD-0aabb93ef3aa6217cb5f3312f864e46465204d48.tar.bz2 opensim-SC_OLD-0aabb93ef3aa6217cb5f3312f864e46465204d48.tar.xz |
Remove now superfluous update of m_lastSize
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 1c27202..a9195f7 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2545,10 +2545,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2545 | // grab the latest PhysicsActor velocity, whereas m_velocity is often | 2545 | // grab the latest PhysicsActor velocity, whereas m_velocity is often |
2546 | // storing a requested force instead of an actual traveling velocity | 2546 | // storing a requested force instead of an actual traveling velocity |
2547 | if (Appearance.AvatarSize != m_lastSize && !IsLoggingIn) | 2547 | if (Appearance.AvatarSize != m_lastSize && !IsLoggingIn) |
2548 | { | ||
2549 | m_lastSize = Appearance.AvatarSize; | ||
2550 | SendAvatarDataToAllAgents(); | 2548 | SendAvatarDataToAllAgents(); |
2551 | } | ||
2552 | 2549 | ||
2553 | if (!Rotation.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) || | 2550 | if (!Rotation.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) || |
2554 | !Velocity.ApproxEquals(m_lastVelocity, VELOCITY_TOLERANCE) || | 2551 | !Velocity.ApproxEquals(m_lastVelocity, VELOCITY_TOLERANCE) || |