aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-05 17:38:14 -0700
committerJohn Hurliman2009-10-05 17:38:14 -0700
commit429a84f390212d0f414a08420707fc90aca2a331 (patch)
tree40b0f161b1cdbd735ec3f9af86cb40f85718f22b /OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
parentMerge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff)
downloadopensim-SC_OLD-429a84f390212d0f414a08420707fc90aca2a331.zip
opensim-SC_OLD-429a84f390212d0f414a08420707fc90aca2a331.tar.gz
opensim-SC_OLD-429a84f390212d0f414a08420707fc90aca2a331.tar.bz2
opensim-SC_OLD-429a84f390212d0f414a08420707fc90aca2a331.tar.xz
Beginning work on the new LLUDP implementation
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
index 19ad0b4..000f455 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/J2KImage.cs
@@ -197,12 +197,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
197 m_currentPacket = StartPacket; 197 m_currentPacket = StartPacket;
198 } 198 }
199 199
200 if ((m_imageManager != null) && (m_imageManager.Client != null) && (m_imageManager.Client.PacketHandler != null)) 200 if (m_imageManager != null && m_imageManager.Client != null)
201 if (m_imageManager.Client.PacketHandler.GetQueueCount(ThrottleOutPacketType.Texture) == 0) 201 {
202 if (m_imageManager.Client.IsThrottleEmpty(ThrottleOutPacketType.Texture))
202 { 203 {
203 //m_log.Debug("No textures queued, sending one packet to kickstart it"); 204 //m_log.Debug("No textures queued, sending one packet to kickstart it");
204 SendPacket(m_imageManager.Client); 205 SendPacket(m_imageManager.Client);
205 } 206 }
207 }
206 } 208 }
207 } 209 }
208 } 210 }