Mostly debugging verbosity which I shall very shortly comment out.

Just want to try this out on windows quickly.
This commit is contained in:
Justin Clarke Casey
2008-02-09 00:14:34 +00:00
parent bb5b88d161
commit 2dc94870aa
4 changed files with 21 additions and 4 deletions

View File

@@ -37,6 +37,9 @@ namespace OpenSim.Region.Environment.Modules
{
public class UserTextureDownloadService
{
private static readonly log4net.ILog m_log
= log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
private readonly Dictionary<LLUUID, TextureSender> m_textureSenders = new Dictionary<LLUUID, TextureSender>();
private readonly BlockingQueue<TextureSender> m_sharedSendersQueue;
private readonly Scene m_scene;
@@ -98,9 +101,12 @@ namespace OpenSim.Region.Environment.Modules
if (!textureSender.ImageLoaded)
{
textureSender.TextureReceived(asset);
EnqueueTextureSender(textureSender);
}
m_log.Info(String.Format("[TEXTURE SENDER] Removing texture sender with uuid {0}", textureID));
m_textureSenders.Remove(textureID);
m_log.Info(String.Format("[TEXTURE SENDER] Current texture senders in dictionary: {0}", m_textureSenders.Count));
}
else
{