diff options
author | Melanie | 2009-10-02 04:04:14 +0100 |
---|---|---|
committer | Melanie | 2009-10-02 04:04:14 +0100 |
commit | 18a744cac10c797b67236988a84ab6d13a5543b8 (patch) | |
tree | 8333647698a7933ed6def48488380c72084f8360 /OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs | |
parent | Removing console debug spew (diff) | |
download | opensim-SC_OLD-18a744cac10c797b67236988a84ab6d13a5543b8.zip opensim-SC_OLD-18a744cac10c797b67236988a84ab6d13a5543b8.tar.gz opensim-SC_OLD-18a744cac10c797b67236988a84ab6d13a5543b8.tar.bz2 opensim-SC_OLD-18a744cac10c797b67236988a84ab6d13a5543b8.tar.xz |
Change texture sending to be driven by the queue empty event from the
packet queue, rather than a timer
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs index 1448722..b958b01 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs | |||
@@ -232,6 +232,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
232 | 232 | ||
233 | m_packetNumber = m_requestedPacketNumber; | 233 | m_packetNumber = m_requestedPacketNumber; |
234 | } | 234 | } |
235 | |||
236 | if (m_imageManager.Client.PacketHandler.GetQueueCount(ThrottleOutPacketType.Texture) == 0) | ||
237 | { | ||
238 | m_log.Debug("No textures queued, sending one packet to kickstart it"); | ||
239 | SendPacket(m_imageManager.Client); | ||
240 | } | ||
235 | } | 241 | } |
236 | } | 242 | } |
237 | } | 243 | } |