From b31adde5fcb9803e91f1b2637395734eccc9143e Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 20 Dec 2015 11:12:48 +0000 Subject: [PATCH] BUG FIX on avatar position updates send control --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 6a4675edfb..56fd6061d8 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3473,10 +3473,10 @@ namespace OpenSim.Region.Framework.Scenes if (Appearance.AvatarSize != m_lastSize && !IsLoggingIn) SendAvatarDataToAllAgents(); - if (!IsSatOnObject || + if (!IsSatOnObject && ( !Rotation.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) || !Velocity.ApproxEquals(m_lastVelocity, VELOCITY_TOLERANCE) || - !m_pos.ApproxEquals(m_lastPosition, POSITION_TOLERANCE)) + !m_pos.ApproxEquals(m_lastPosition, POSITION_TOLERANCE))) { SendTerseUpdateToAllClients();