BUG FIX on avatar position updates send control
parent
a4f91e5064
commit
b31adde5fc
|
@ -3473,10 +3473,10 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (Appearance.AvatarSize != m_lastSize && !IsLoggingIn)
|
if (Appearance.AvatarSize != m_lastSize && !IsLoggingIn)
|
||||||
SendAvatarDataToAllAgents();
|
SendAvatarDataToAllAgents();
|
||||||
|
|
||||||
if (!IsSatOnObject ||
|
if (!IsSatOnObject && (
|
||||||
!Rotation.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) ||
|
!Rotation.ApproxEquals(m_lastRotation, ROTATION_TOLERANCE) ||
|
||||||
!Velocity.ApproxEquals(m_lastVelocity, VELOCITY_TOLERANCE) ||
|
!Velocity.ApproxEquals(m_lastVelocity, VELOCITY_TOLERANCE) ||
|
||||||
!m_pos.ApproxEquals(m_lastPosition, POSITION_TOLERANCE))
|
!m_pos.ApproxEquals(m_lastPosition, POSITION_TOLERANCE)))
|
||||||
{
|
{
|
||||||
SendTerseUpdateToAllClients();
|
SendTerseUpdateToAllClients();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue