aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authordiva2008-12-18 02:31:40 +0000
committerdiva2008-12-18 02:31:40 +0000
commit3b0a6efde7c36ef2f0f569ef6516779ce1d03c28 (patch)
tree700355eeb88796f14ba0d35cd2f89f2eaa8a1504 /OpenSim/Region
parent* Committing an opensim level error message on httpserver. This might help w... (diff)
downloadopensim-SC_OLD-3b0a6efde7c36ef2f0f569ef6516779ce1d03c28.zip
opensim-SC_OLD-3b0a6efde7c36ef2f0f569ef6516779ce1d03c28.tar.gz
opensim-SC_OLD-3b0a6efde7c36ef2f0f569ef6516779ce1d03c28.tar.bz2
opensim-SC_OLD-3b0a6efde7c36ef2f0f569ef6516779ce1d03c28.tar.xz
This innocuous change in the TextureDownloadModule suddenly made the texture problems (#2855) go away for me. I'm committing it, so that others can test and refute, to make sure I'm not hallucinating.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureDownloadModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureDownloadModule.cs b/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureDownloadModule.cs
index 8e56afb..a7ad37d 100644
--- a/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureDownloadModule.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureDownloadModule.cs
@@ -71,6 +71,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureDownload
71 if (m_scene == null) 71 if (m_scene == null)
72 { 72 {
73 //Console.WriteLine("Creating Texture download module"); 73 //Console.WriteLine("Creating Texture download module");
74 m_scene = scene;
74 m_thread = new Thread(new ThreadStart(ProcessTextureSenders)); 75 m_thread = new Thread(new ThreadStart(ProcessTextureSenders));
75 m_thread.Name = "ProcessTextureSenderThread"; 76 m_thread.Name = "ProcessTextureSenderThread";
76 m_thread.IsBackground = true; 77 m_thread.IsBackground = true;
@@ -120,7 +121,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureDownload
120 if (m_userTextureServices.TryGetValue(agentId, out textureService)) 121 if (m_userTextureServices.TryGetValue(agentId, out textureService))
121 { 122 {
122 textureService.Close(); 123 textureService.Close();
123 124 m_log.DebugFormat("[TEXTURE MODULE]: Removing UserTextureServices from {0}", m_scene.RegionInfo.RegionName);
124 m_userTextureServices.Remove(agentId); 125 m_userTextureServices.Remove(agentId);
125 } 126 }
126 } 127 }
@@ -144,9 +145,11 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureDownload
144 { 145 {
145 if (m_userTextureServices.TryGetValue(client.AgentId, out textureService)) 146 if (m_userTextureServices.TryGetValue(client.AgentId, out textureService))
146 { 147 {
148 //m_log.DebugFormat("[TEXTURE MODULE]: Found existing UserTextureServices in ", m_scene.RegionInfo.RegionName);
147 return true; 149 return true;
148 } 150 }
149 151
152 m_log.DebugFormat("[TEXTURE MODULE]: Creating new UserTextureServices in ", m_scene.RegionInfo.RegionName);
150 textureService = new UserTextureDownloadService(client, m_scene, m_queueSenders); 153 textureService = new UserTextureDownloadService(client, m_scene, m_queueSenders);
151 m_userTextureServices.Add(client.AgentId, textureService); 154 m_userTextureServices.Add(client.AgentId, textureService);
152 155