diff options
Diffstat (limited to 'OpenSim/Region')
-rwxr-xr-x | OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs index 465a4d0..2f73454 100755 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs | |||
@@ -1710,8 +1710,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1710 | m_pendingCache.Remove(endPoint); | 1710 | m_pendingCache.Remove(endPoint); |
1711 | } | 1711 | } |
1712 | 1712 | ||
1713 | client.CheckViewerCaps(); | ||
1714 | |||
1715 | m_log.DebugFormat("[LLUDPSERVER]: Client created, processing pending queue, {0} entries", queue.Count); | 1713 | m_log.DebugFormat("[LLUDPSERVER]: Client created, processing pending queue, {0} entries", queue.Count); |
1716 | // Reinject queued packets | 1714 | // Reinject queued packets |
1717 | while (queue.Count > 0) | 1715 | while (queue.Count > 0) |
@@ -1727,6 +1725,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
1727 | // circuit code to the existing child agent. This is not particularly obvious. | 1725 | // circuit code to the existing child agent. This is not particularly obvious. |
1728 | SendAckImmediate(endPoint, uccp.Header.Sequence); | 1726 | SendAckImmediate(endPoint, uccp.Header.Sequence); |
1729 | 1727 | ||
1728 | client.CheckViewerCaps(); | ||
1729 | |||
1730 | // We only want to send initial data to new clients, not ones which are being converted from child to root. | 1730 | // We only want to send initial data to new clients, not ones which are being converted from child to root. |
1731 | if (client != null) | 1731 | if (client != null) |
1732 | { | 1732 | { |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 1c5d23d..e663055 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2180,6 +2180,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2180 | ControllingClient.MoveAgentIntoRegion(m_scene.RegionInfo, AbsolutePosition, look); | 2180 | ControllingClient.MoveAgentIntoRegion(m_scene.RegionInfo, AbsolutePosition, look); |
2181 | //m_log.DebugFormat("[CompleteMovement] MoveAgentIntoRegion: {0}ms", Util.EnvironmentTickCountSubtract(ts)); | 2181 | //m_log.DebugFormat("[CompleteMovement] MoveAgentIntoRegion: {0}ms", Util.EnvironmentTickCountSubtract(ts)); |
2182 | 2182 | ||
2183 | // recheck to reduce timing issues | ||
2184 | ControllingClient.CheckViewerCaps(); | ||
2185 | |||
2183 | bool isHGTP = (m_teleportFlags & TeleportFlags.ViaHGLogin) != 0; | 2186 | bool isHGTP = (m_teleportFlags & TeleportFlags.ViaHGLogin) != 0; |
2184 | 2187 | ||
2185 | int delayctnr = Util.EnvironmentTickCount(); | 2188 | int delayctnr = Util.EnvironmentTickCount(); |
@@ -4040,6 +4043,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4040 | } | 4043 | } |
4041 | } | 4044 | } |
4042 | 4045 | ||
4046 | // recheck to reduce timing issues | ||
4047 | ControllingClient.CheckViewerCaps(); | ||
4048 | |||
4043 | SendOtherAgentsAvatarFullToMe(); | 4049 | SendOtherAgentsAvatarFullToMe(); |
4044 | 4050 | ||
4045 | if(m_scene.ObjectsCullingByDistance) | 4051 | if(m_scene.ObjectsCullingByDistance) |