More on mantis #5270

viewer-2-initial-appearance
Diva Canto 2010-12-14 11:24:23 -08:00
parent 55e04e6c68
commit 4357288a94
1 changed files with 3 additions and 2 deletions

View File

@ -147,7 +147,10 @@ namespace OpenSim.Services.Connectors.Hypergrid
public UUID GetMapImage(UUID regionID, string imageURL, string storagePath)
{
if (m_AssetService == null)
{
m_log.DebugFormat("[GATEKEEPER SERVICE CONNECTOR]: No AssetService defined. Map tile not retrieved.");
return m_HGMapImage;
}
UUID mapTile = m_HGMapImage;
string filename = string.Empty;
@ -167,8 +170,6 @@ namespace OpenSim.Services.Connectors.Hypergrid
// !!! for now
//info.RegionSettings.TerrainImageID = ass.FullID;
ass.Temporary = true;
ass.Local = true;
ass.Data = imageData;
m_AssetService.Store(ass);