diff options
author | Melanie | 2011-11-19 22:39:15 +0000 |
---|---|---|
committer | Melanie | 2011-11-19 22:39:15 +0000 |
commit | bdb5ac96d9432eb568ed3e3bb46b012365f884bc (patch) | |
tree | fe2ce2636be7e750b3f235a6c04b9f3a5cf2f8af /OpenSim/Services/MapImageService/MapImageService.cs | |
parent | Merge branch 'master' into bigmerge (diff) | |
parent | Remove the "[LOCAL SIMULATION CONNECTOR]: Did not find region {0} for SendCre... (diff) | |
download | opensim-SC-bdb5ac96d9432eb568ed3e3bb46b012365f884bc.zip opensim-SC-bdb5ac96d9432eb568ed3e3bb46b012365f884bc.tar.gz opensim-SC-bdb5ac96d9432eb568ed3e3bb46b012365f884bc.tar.bz2 opensim-SC-bdb5ac96d9432eb568ed3e3bb46b012365f884bc.tar.xz |
Merge branch 'master' into bigmerge
Conflicts:
OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
OpenSim/Region/ScriptEngine/XEngine/XEngine.cs
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/MapImageService/MapImageService.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Services/MapImageService/MapImageService.cs b/OpenSim/Services/MapImageService/MapImageService.cs index 7e7391c..a85ee70 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)) |
@@ -206,7 +208,7 @@ namespace OpenSim.Services.MapImageService | |||
206 | 208 | ||
207 | private bool CreateTile(uint zoomLevel, int x, int y) | 209 | private bool CreateTile(uint zoomLevel, int x, int y) |
208 | { | 210 | { |
209 | m_log.DebugFormat("[MAP IMAGE SERVICE]: Create tile for {0} {1}, zoom {2}", x, y, zoomLevel); | 211 | // m_log.DebugFormat("[MAP IMAGE SERVICE]: Create tile for {0} {1}, zoom {2}", x, y, zoomLevel); |
210 | int prevWidth = (int)Math.Pow(2, (double)zoomLevel - 2); | 212 | int prevWidth = (int)Math.Pow(2, (double)zoomLevel - 2); |
211 | int thisWidth = (int)Math.Pow(2, (double)zoomLevel - 1); | 213 | int thisWidth = (int)Math.Pow(2, (double)zoomLevel - 1); |
212 | 214 | ||