aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-02-09 00:14:34 +0000
committerJustin Clarke Casey2008-02-09 00:14:34 +0000
commit2dc94870aa3c76628ecf7c12b5a1002142a7d8ed (patch)
treed4bbeb6faae4f16988eb88efaf65eac1a9512d59 /OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
parent* Fixed a situation in ODE where it didn't call the mesher on a cube when you... (diff)
downloadopensim-SC_OLD-2dc94870aa3c76628ecf7c12b5a1002142a7d8ed.zip
opensim-SC_OLD-2dc94870aa3c76628ecf7c12b5a1002142a7d8ed.tar.gz
opensim-SC_OLD-2dc94870aa3c76628ecf7c12b5a1002142a7d8ed.tar.bz2
opensim-SC_OLD-2dc94870aa3c76628ecf7c12b5a1002142a7d8ed.tar.xz
Mostly debugging verbosity which I shall very shortly comment out.
Just want to try this out on windows quickly.
Diffstat (limited to 'OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs')
-rw-r--r--OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs b/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
index b458d67..08b6979 100644
--- a/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
+++ b/OpenSim/Region/Environment/Modules/UserTextureDownloadService.cs
@@ -37,6 +37,9 @@ namespace OpenSim.Region.Environment.Modules
37{ 37{
38 public class UserTextureDownloadService 38 public class UserTextureDownloadService
39 { 39 {
40 private static readonly log4net.ILog m_log
41 = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
42
40 private readonly Dictionary<LLUUID, TextureSender> m_textureSenders = new Dictionary<LLUUID, TextureSender>(); 43 private readonly Dictionary<LLUUID, TextureSender> m_textureSenders = new Dictionary<LLUUID, TextureSender>();
41 private readonly BlockingQueue<TextureSender> m_sharedSendersQueue; 44 private readonly BlockingQueue<TextureSender> m_sharedSendersQueue;
42 private readonly Scene m_scene; 45 private readonly Scene m_scene;
@@ -98,9 +101,12 @@ namespace OpenSim.Region.Environment.Modules
98 if (!textureSender.ImageLoaded) 101 if (!textureSender.ImageLoaded)
99 { 102 {
100 textureSender.TextureReceived(asset); 103 textureSender.TextureReceived(asset);
101
102 EnqueueTextureSender(textureSender); 104 EnqueueTextureSender(textureSender);
103 } 105 }
106
107 m_log.Info(String.Format("[TEXTURE SENDER] Removing texture sender with uuid {0}", textureID));
108 m_textureSenders.Remove(textureID);
109 m_log.Info(String.Format("[TEXTURE SENDER] Current texture senders in dictionary: {0}", m_textureSenders.Count));
104 } 110 }
105 else 111 else
106 { 112 {