diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs index 97107ce..fcdf857 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs | |||
@@ -65,6 +65,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
65 | m_j2kDecodeModule = pJ2kDecodeModule; | 65 | m_j2kDecodeModule = pJ2kDecodeModule; |
66 | } | 66 | } |
67 | 67 | ||
68 | public LLClientView Client | ||
69 | { | ||
70 | get { return m_client; } | ||
71 | } | ||
72 | |||
68 | public void EnqueueReq(TextureRequestArgs newRequest) | 73 | public void EnqueueReq(TextureRequestArgs newRequest) |
69 | { | 74 | { |
70 | //newRequest is the properties of our new texture fetch request. | 75 | //newRequest is the properties of our new texture fetch request. |
@@ -222,8 +227,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
222 | threshold = 10; | 227 | threshold = 10; |
223 | 228 | ||
224 | //Uncomment this to see what the texture stack is doing | 229 | //Uncomment this to see what the texture stack is doing |
225 | //m_log.Debug("Queue: " + m_client.PacketHandler.PacketQueue.TextureOutgoingPacketQueueCount.ToString() + " Threshold: " + threshold.ToString() + " outstanding: " + m_outstandingtextures.ToString()); | 230 | //m_log.Debug("Queue: " + m_client.PacketHandler.PacketQueue.getQueueCount(ThrottleOutPacketType.Texture).ToString() + " Threshold: " + threshold.ToString() + " outstanding: " + m_outstandingtextures.ToString()); |
226 | if (m_client.PacketHandler.PacketQueue.TextureOutgoingPacketQueueCount < threshold) | 231 | if (m_client.PacketHandler.PacketQueue.GetQueueCount(ThrottleOutPacketType.Texture) < threshold) |
227 | { | 232 | { |
228 | while (m_priorityQueue.Count > 0) | 233 | while (m_priorityQueue.Count > 0) |
229 | { | 234 | { |