aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/MapImageService
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-19 00:07:34 +0000
committerJustin Clark-Casey (justincc)2011-11-19 00:07:34 +0000
commit01ae916bad672722aa62ee712b7b580d6f5f4370 (patch)
tree82199ee4f473d9639e73a67cc8b2f30aeaeb047b /OpenSim/Services/MapImageService
parentReplace HttpServer_OpenSim.dll with Oren Hurvitz's patch applied. (diff)
downloadopensim-SC_OLD-01ae916bad672722aa62ee712b7b580d6f5f4370.zip
opensim-SC_OLD-01ae916bad672722aa62ee712b7b580d6f5f4370.tar.gz
opensim-SC_OLD-01ae916bad672722aa62ee712b7b580d6f5f4370.tar.bz2
opensim-SC_OLD-01ae916bad672722aa62ee712b7b580d6f5f4370.tar.xz
Don't register a region twice on both official registration and maptile regeneration.
Maptile storage appears orthogonal to region registration
Diffstat (limited to 'OpenSim/Services/MapImageService')
-rw-r--r--OpenSim/Services/MapImageService/MapImageService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Services/MapImageService/MapImageService.cs b/OpenSim/Services/MapImageService/MapImageService.cs
index 7e7391c..83727b6 100644
--- a/OpenSim/Services/MapImageService/MapImageService.cs
+++ b/OpenSim/Services/MapImageService/MapImageService.cs
@@ -138,6 +138,8 @@ namespace OpenSim.Services.MapImageService
138 138
139 public byte[] GetMapTile(string fileName, out string format) 139 public byte[] GetMapTile(string fileName, out string format)
140 { 140 {
141// m_log.DebugFormat("[MAP IMAGE SERVICE]: Getting map tile {0}", fileName);
142
141 format = ".jpg"; 143 format = ".jpg";
142 string fullName = Path.Combine(m_TilesStoragePath, fileName); 144 string fullName = Path.Combine(m_TilesStoragePath, fileName);
143 if (File.Exists(fullName)) 145 if (File.Exists(fullName))