aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2010-12-14 11:24:23 -0800
committerDiva Canto2010-12-14 11:24:23 -0800
commit4357288a94dd9253ddc570c38eabf0277d3ff973 (patch)
tree17b7d5e67e623bf08f444015003f7af5160a177b /OpenSim
parentFixes mantis #5270 -- Map tiles for hyperlinks not showing in world map for g... (diff)
downloadopensim-SC_OLD-4357288a94dd9253ddc570c38eabf0277d3ff973.zip
opensim-SC_OLD-4357288a94dd9253ddc570c38eabf0277d3ff973.tar.gz
opensim-SC_OLD-4357288a94dd9253ddc570c38eabf0277d3ff973.tar.bz2
opensim-SC_OLD-4357288a94dd9253ddc570c38eabf0277d3ff973.tar.xz
More on mantis #5270
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs5
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);