diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 083dcc0..4d3a30c 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -351,7 +351,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
351 | protected Dictionary<PacketType, PacketProcessor> m_packetHandlers = new Dictionary<PacketType, PacketProcessor>(); | 351 | protected Dictionary<PacketType, PacketProcessor> m_packetHandlers = new Dictionary<PacketType, PacketProcessor>(); |
352 | protected Dictionary<string, GenericMessage> m_genericPacketHandlers = new Dictionary<string, GenericMessage>(); //PauPaw:Local Generic Message handlers | 352 | protected Dictionary<string, GenericMessage> m_genericPacketHandlers = new Dictionary<string, GenericMessage>(); //PauPaw:Local Generic Message handlers |
353 | protected Scene m_scene; | 353 | protected Scene m_scene; |
354 | protected LLImageManager m_imageManager; | 354 | private LLImageManager m_imageManager; |
355 | protected string m_firstName; | 355 | protected string m_firstName; |
356 | protected string m_lastName; | 356 | protected string m_lastName; |
357 | protected Thread m_clientThread; | 357 | protected Thread m_clientThread; |
@@ -522,8 +522,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
522 | IsActive = false; | 522 | IsActive = false; |
523 | 523 | ||
524 | // Shutdown the image manager | 524 | // Shutdown the image manager |
525 | if (m_imageManager != null) | 525 | m_imageManager.Close(); |
526 | m_imageManager.Close(); | ||
527 | 526 | ||
528 | // Fire the callback for this connection closing | 527 | // Fire the callback for this connection closing |
529 | if (OnConnectionClosed != null) | 528 | if (OnConnectionClosed != null) |
@@ -601,7 +600,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
601 | /// Add a handler for the given packet type. | 600 | /// Add a handler for the given packet type. |
602 | /// </summary> | 601 | /// </summary> |
603 | /// <remarks> | 602 | /// <remarks> |
604 | /// The packet is handled on its own thread. If packets must be handled in the order in which thye | 603 | /// The packet is handled on its own thread. If packets must be handled in the order in which they |
605 | /// are received then please use the synchronous version of this method. | 604 | /// are received then please use the synchronous version of this method. |
606 | /// </remarks> | 605 | /// </remarks> |
607 | /// <param name="packetType"></param> | 606 | /// <param name="packetType"></param> |
@@ -3984,14 +3983,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3984 | } | 3983 | } |
3985 | 3984 | ||
3986 | if ((categories & ThrottleOutPacketTypeFlags.Texture) != 0) | 3985 | if ((categories & ThrottleOutPacketTypeFlags.Texture) != 0) |
3987 | { | ||
3988 | ProcessTextureRequests(); | ||
3989 | } | ||
3990 | } | ||
3991 | |||
3992 | void ProcessTextureRequests() | ||
3993 | { | ||
3994 | if (m_imageManager != null) | ||
3995 | m_imageManager.ProcessImageQueue(m_udpServer.TextureSendLimit); | 3986 | m_imageManager.ProcessImageQueue(m_udpServer.TextureSendLimit); |
3996 | } | 3987 | } |
3997 | 3988 | ||
@@ -7540,12 +7531,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
7540 | if ((ImageType)block.Type == ImageType.Baked) | 7531 | if ((ImageType)block.Type == ImageType.Baked) |
7541 | args.Priority *= 2.0f; | 7532 | args.Priority *= 2.0f; |
7542 | 7533 | ||
7543 | // in the end, we null this, so we have to check if it's null | 7534 | m_imageManager.EnqueueReq(args); |
7544 | if (m_imageManager != null) | ||
7545 | { | ||
7546 | m_imageManager.EnqueueReq(args); | ||
7547 | } | ||
7548 | } | 7535 | } |
7536 | |||
7549 | return true; | 7537 | return true; |
7550 | } | 7538 | } |
7551 | 7539 | ||