More on mantis #5270
parent
55e04e6c68
commit
4357288a94
|
@ -147,7 +147,10 @@ namespace OpenSim.Services.Connectors.Hypergrid
|
||||||
public UUID GetMapImage(UUID regionID, string imageURL, string storagePath)
|
public UUID GetMapImage(UUID regionID, string imageURL, string storagePath)
|
||||||
{
|
{
|
||||||
if (m_AssetService == null)
|
if (m_AssetService == null)
|
||||||
|
{
|
||||||
|
m_log.DebugFormat("[GATEKEEPER SERVICE CONNECTOR]: No AssetService defined. Map tile not retrieved.");
|
||||||
return m_HGMapImage;
|
return m_HGMapImage;
|
||||||
|
}
|
||||||
|
|
||||||
UUID mapTile = m_HGMapImage;
|
UUID mapTile = m_HGMapImage;
|
||||||
string filename = string.Empty;
|
string filename = string.Empty;
|
||||||
|
@ -167,8 +170,6 @@ namespace OpenSim.Services.Connectors.Hypergrid
|
||||||
// !!! for now
|
// !!! for now
|
||||||
//info.RegionSettings.TerrainImageID = ass.FullID;
|
//info.RegionSettings.TerrainImageID = ass.FullID;
|
||||||
|
|
||||||
ass.Temporary = true;
|
|
||||||
ass.Local = true;
|
|
||||||
ass.Data = imageData;
|
ass.Data = imageData;
|
||||||
|
|
||||||
m_AssetService.Store(ass);
|
m_AssetService.Store(ass);
|
||||||
|
|
Loading…
Reference in New Issue