diff options
author | Diva Canto | 2011-05-30 17:19:46 -0700 |
---|---|---|
committer | Diva Canto | 2011-05-30 17:19:46 -0700 |
commit | e14b7ec9e115dd1705d6952f5ecbb19806709944 (patch) | |
tree | ee68f0422c3f1ff8ad85564e45783fa519a62f7c /OpenSim/Services/GridService | |
parent | Improved reuse on the WorldMap/WorldMapModule.cs (diff) | |
download | opensim-SC-e14b7ec9e115dd1705d6952f5ecbb19806709944.zip opensim-SC-e14b7ec9e115dd1705d6952f5ecbb19806709944.tar.gz opensim-SC-e14b7ec9e115dd1705d6952f5ecbb19806709944.tar.bz2 opensim-SC-e14b7ec9e115dd1705d6952f5ecbb19806709944.tar.xz |
HGWorldMap: don't send map blocks of hyperlinks that are farther than 4096 cells from the current region.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/GridService/HypergridLinker.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index c539047..b7c0e91 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -363,11 +363,14 @@ namespace OpenSim.Services.GridService | |||
363 | else | 363 | else |
364 | regInfo.RegionName = externalName; | 364 | regInfo.RegionName = externalName; |
365 | 365 | ||
366 | m_log.Debug("[HYPERGRID LINKER]: naming linked region " + regInfo.RegionName); | 366 | m_log.DebugFormat("[HYPERGRID LINKER]: naming linked region {0}, handle {1}", regInfo.RegionName, handle.ToString()); |
367 | 367 | ||
368 | // Get the map image | 368 | // Get the map image |
369 | regInfo.TerrainImage = m_GatekeeperConnector.GetMapImage(regionID, imageURL, m_MapTileDirectory); | 369 | regInfo.TerrainImage = m_GatekeeperConnector.GetMapImage(regionID, imageURL, m_MapTileDirectory); |
370 | 370 | ||
371 | // Store the origin's coordinates somewhere | ||
372 | regInfo.RegionSecret = handle.ToString(); | ||
373 | |||
371 | AddHyperlinkRegion(regInfo, handle); | 374 | AddHyperlinkRegion(regInfo, handle); |
372 | m_log.InfoFormat("[HYPERGRID LINKER]: Successfully linked to region {0} with image {1}", regInfo.RegionName, regInfo.TerrainImage); | 375 | m_log.InfoFormat("[HYPERGRID LINKER]: Successfully linked to region {0} with image {1}", regInfo.RegionName, regInfo.TerrainImage); |
373 | return true; | 376 | return true; |