Beginning work on the new LLUDP implementation

This commit is contained in:
John Hurliman
2009-10-05 17:38:14 -07:00
parent a528e7704c
commit 429a84f390
14 changed files with 1889 additions and 2408 deletions

View File

@@ -197,12 +197,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
m_currentPacket = StartPacket;
}
if ((m_imageManager != null) && (m_imageManager.Client != null) && (m_imageManager.Client.PacketHandler != null))
if (m_imageManager.Client.PacketHandler.GetQueueCount(ThrottleOutPacketType.Texture) == 0)
if (m_imageManager != null && m_imageManager.Client != null)
{
if (m_imageManager.Client.IsThrottleEmpty(ThrottleOutPacketType.Texture))
{
//m_log.Debug("No textures queued, sending one packet to kickstart it");
SendPacket(m_imageManager.Client);
}
}
}
}
}