mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
BUG FIX on avatar position updates send control
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user