Fix multi, and single tenancy on MapGet
parent
e877c94b51
commit
c3f9b1568c
|
@ -239,7 +239,7 @@ namespace OpenSim.Services.MapImageService
|
||||||
|
|
||||||
public byte[] GetMapTile(string fileName, UUID scopeID, out string format)
|
public byte[] GetMapTile(string fileName, UUID scopeID, out string format)
|
||||||
{
|
{
|
||||||
// m_log.DebugFormat("[MAP IMAGE SERVICE]: Getting map tile {0}", fileName);
|
//m_log.DebugFormat("[MAP IMAGE SERVICE]: Getting map tile {0}", fileName);
|
||||||
|
|
||||||
format = ".jpg";
|
format = ".jpg";
|
||||||
string fullName = Path.Combine(m_TilesStoragePath, scopeID.ToString());
|
string fullName = Path.Combine(m_TilesStoragePath, scopeID.ToString());
|
||||||
|
@ -256,7 +256,7 @@ namespace OpenSim.Services.MapImageService
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
m_log.DebugFormat("[MAP IMAGE SERVICE]: unable to get file {0}", fileName);
|
//m_log.DebugFormat("[MAP IMAGE SERVICE]: unable to get file {0}", fileName);
|
||||||
return new byte[0];
|
return new byte[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue