diff options
author | UbitUmarov | 2019-03-19 00:47:45 +0000 |
---|---|---|
committer | UbitUmarov | 2019-03-19 00:47:45 +0000 |
commit | c2086e6257bbf63c4b4edf56729bdf78e4ce3195 (patch) | |
tree | d5ca738d23758fd316fd37664df33c814a4950b0 | |
parent | lludp ReplyTaskInventory, SendXferPacket and AbortXfer enconding (diff) | |
download | opensim-SC-c2086e6257bbf63c4b4edf56729bdf78e4ce3195.zip opensim-SC-c2086e6257bbf63c4b4edf56729bdf78e4ce3195.tar.gz opensim-SC-c2086e6257bbf63c4b4edf56729bdf78e4ce3195.tar.bz2 opensim-SC-c2086e6257bbf63c4b4edf56729bdf78e4ce3195.tar.xz |
add a few extra checks for viewers animated objects support, to avoid timming issues
-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) |