diff options
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs index 1ac8478..a1d9167 100644 --- a/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | |||
@@ -147,7 +147,10 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
147 | public UUID GetMapImage(UUID regionID, string imageURL, string storagePath) | 147 | public UUID GetMapImage(UUID regionID, string imageURL, string storagePath) |
148 | { | 148 | { |
149 | if (m_AssetService == null) | 149 | if (m_AssetService == null) |
150 | { | ||
151 | m_log.DebugFormat("[GATEKEEPER SERVICE CONNECTOR]: No AssetService defined. Map tile not retrieved."); | ||
150 | return m_HGMapImage; | 152 | return m_HGMapImage; |
153 | } | ||
151 | 154 | ||
152 | UUID mapTile = m_HGMapImage; | 155 | UUID mapTile = m_HGMapImage; |
153 | string filename = string.Empty; | 156 | string filename = string.Empty; |
@@ -167,8 +170,6 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
167 | // !!! for now | 170 | // !!! for now |
168 | //info.RegionSettings.TerrainImageID = ass.FullID; | 171 | //info.RegionSettings.TerrainImageID = ass.FullID; |
169 | 172 | ||
170 | ass.Temporary = true; | ||
171 | ass.Local = true; | ||
172 | ass.Data = imageData; | 173 | ass.Data = imageData; |
173 | 174 | ||
174 | m_AssetService.Store(ass); | 175 | m_AssetService.Store(ass); |