diff options
-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++; |