diff options
author | Melanie | 2011-06-20 03:08:56 +0200 |
---|---|---|
committer | Melanie | 2011-06-20 03:08:56 +0200 |
commit | f4f55c4d6bdbe9a86b5343159916977b331fefe0 (patch) | |
tree | 08fb85f2aa0193bf8549e684b98501c2c52faa1a /OpenSim/Services/GridService | |
parent | Add some flags to control content in search better (diff) | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-f4f55c4d6bdbe9a86b5343159916977b331fefe0.zip opensim-SC-f4f55c4d6bdbe9a86b5343159916977b331fefe0.tar.gz opensim-SC-f4f55c4d6bdbe9a86b5343159916977b331fefe0.tar.bz2 opensim-SC-f4f55c4d6bdbe9a86b5343159916977b331fefe0.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Services/GridService')
-rw-r--r-- | OpenSim/Services/GridService/HypergridLinker.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index b226971..6d63748 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -327,10 +327,13 @@ namespace OpenSim.Services.GridService | |||
327 | else | 327 | else |
328 | regInfo.RegionName = externalName; | 328 | regInfo.RegionName = externalName; |
329 | 329 | ||
330 | m_log.Debug("[HYPERGRID LINKER]: naming linked region " + regInfo.RegionName); | 330 | m_log.DebugFormat("[HYPERGRID LINKER]: naming linked region {0}, handle {1}", regInfo.RegionName, handle.ToString()); |
331 | 331 | ||
332 | // Get the map image | 332 | // Get the map image |
333 | regInfo.TerrainImage = m_GatekeeperConnector.GetMapImage(regionID, imageURL, m_MapTileDirectory); | 333 | regInfo.TerrainImage = GetMapImage(regionID, imageURL); |
334 | |||
335 | // Store the origin's coordinates somewhere | ||
336 | regInfo.RegionSecret = handle.ToString(); | ||
334 | 337 | ||
335 | AddHyperlinkRegion(regInfo, handle); | 338 | AddHyperlinkRegion(regInfo, handle); |
336 | m_log.Info("[HYPERGRID LINKER]: Successfully linked to region_uuid " + regInfo.RegionID); | 339 | m_log.Info("[HYPERGRID LINKER]: Successfully linked to region_uuid " + regInfo.RegionID); |
@@ -427,6 +430,10 @@ namespace OpenSim.Services.GridService | |||
427 | m_Database.Delete(regionID); | 430 | m_Database.Delete(regionID); |
428 | } | 431 | } |
429 | 432 | ||
433 | public UUID GetMapImage(UUID regionID, string imageURL) | ||
434 | { | ||
435 | return m_GatekeeperConnector.GetMapImage(regionID, imageURL, m_MapTileDirectory); | ||
436 | } | ||
430 | #endregion | 437 | #endregion |
431 | 438 | ||
432 | 439 | ||