diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c7db306..e792d3f 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3200,12 +3200,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
3200 | // checks on all updates but the ramifications of this would need careful consideration. | 3200 | // checks on all updates but the ramifications of this would need careful consideration. |
3201 | bool updateClients | 3201 | bool updateClients |
3202 | = IsSatOnObject && (Rotation != m_lastRotation || Velocity != m_lastVelocity || m_pos != m_lastPosition); | 3202 | = IsSatOnObject && (Rotation != m_lastRotation || Velocity != m_lastVelocity || m_pos != m_lastPosition); |
3203 | 3203 | ||
3204 | if (!updateClients) | 3204 | if (!updateClients) |
3205 | updateClients | 3205 | updateClients |
3206 | = !Rotation.ApproxEquals(m_lastRotation, Scene.ClientRotationUpdateTolerance) | 3206 | = !Rotation.ApproxEquals(m_lastRotation, Scene.RootRotationUpdateTolerance) |
3207 | || !Velocity.ApproxEquals(m_lastVelocity, Scene.ClientVelocityUpdateTolerance) | 3207 | || !Velocity.ApproxEquals(m_lastVelocity, Scene.RootVelocityUpdateTolerance) |
3208 | || !m_pos.ApproxEquals(m_lastPosition, Scene.ClientPositionUpdateTolerance); | 3208 | || !m_pos.ApproxEquals(m_lastPosition, Scene.RootPositionUpdateTolerance); |
3209 | 3209 | ||
3210 | if (updateClients) | 3210 | if (updateClients) |
3211 | { | 3211 | { |