BUG FIX on avatar position updates send control

LSLKeyTest
UbitUmarov 2015-12-20 11:12:48 +00:00
parent a4f91e5064
commit b31adde5fc
1 changed files with 2 additions and 2 deletions

View File

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