diff options
author | UbitUmarov | 2014-08-07 07:55:56 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-07 07:55:56 +0100 |
commit | 1408c9eee7eb8b73b49255f6c7bf81f4a759d01c (patch) | |
tree | 076b7bd20349d61f3ff957909ea52ed698c91a31 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | bug (diff) | |
download | opensim-SC_OLD-1408c9eee7eb8b73b49255f6c7bf81f4a759d01c.zip opensim-SC_OLD-1408c9eee7eb8b73b49255f6c7bf81f4a759d01c.tar.gz opensim-SC_OLD-1408c9eee7eb8b73b49255f6c7bf81f4a759d01c.tar.bz2 opensim-SC_OLD-1408c9eee7eb8b73b49255f6c7bf81f4a759d01c.tar.xz |
reply to cached checks with same serial number
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 38a9af3..def1f8e 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -12016,8 +12016,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12016 | // TODO: don't create new blocks if recycling an old packet | 12016 | // TODO: don't create new blocks if recycling an old packet |
12017 | cachedresp.AgentData.AgentID = AgentId; | 12017 | cachedresp.AgentData.AgentID = AgentId; |
12018 | cachedresp.AgentData.SessionID = m_sessionId; | 12018 | cachedresp.AgentData.SessionID = m_sessionId; |
12019 | cachedresp.AgentData.SerialNum = m_cachedTextureSerial; | 12019 | // cachedresp.AgentData.SerialNum = m_cachedTextureSerial; |
12020 | m_cachedTextureSerial++; | 12020 | // m_cachedTextureSerial++; |
12021 | cachedresp.AgentData.SerialNum = cachedtex.AgentData.SerialNum; | ||
12021 | cachedresp.WearableData = | 12022 | cachedresp.WearableData = |
12022 | new AgentCachedTextureResponsePacket.WearableDataBlock[cachedtex.WearableData.Length]; | 12023 | new AgentCachedTextureResponsePacket.WearableDataBlock[cachedtex.WearableData.Length]; |
12023 | 12024 | ||
@@ -12094,7 +12095,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
12094 | cachedresp.WearableData[i] = new AgentCachedTextureResponsePacket.WearableDataBlock(); | 12095 | cachedresp.WearableData[i] = new AgentCachedTextureResponsePacket.WearableDataBlock(); |
12095 | cachedresp.WearableData[i].TextureIndex = cachedtex.WearableData[i].TextureIndex; | 12096 | cachedresp.WearableData[i].TextureIndex = cachedtex.WearableData[i].TextureIndex; |
12096 | cachedresp.WearableData[i].HostName = new byte[0]; | 12097 | cachedresp.WearableData[i].HostName = new byte[0]; |
12097 | if (cachedtex.WearableData[i].ID == cacheItems[idx].CacheId) | 12098 | if (cachedtex.WearableData[i].ID == cacheItems[idx].CacheId) |
12098 | { | 12099 | { |
12099 | cachedresp.WearableData[i].TextureID = cacheItems[idx].TextureID; | 12100 | cachedresp.WearableData[i].TextureID = cacheItems[idx].TextureID; |
12100 | cacheHits++; | 12101 | cacheHits++; |