Don't register a region twice on both official registration and maptile regeneration.

Maptile storage appears orthogonal to region registration
This commit is contained in:
Justin Clark-Casey (justincc)
2011-11-19 00:07:34 +00:00
parent f72c4bdba5
commit 01ae916bad
4 changed files with 11 additions and 8 deletions

View File

@@ -138,6 +138,8 @@ namespace OpenSim.Services.MapImageService
public byte[] GetMapTile(string fileName, out string format)
{
// m_log.DebugFormat("[MAP IMAGE SERVICE]: Getting map tile {0}", fileName);
format = ".jpg";
string fullName = Path.Combine(m_TilesStoragePath, fileName);
if (File.Exists(fullName))