diff options
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs index 96061ba..7e5b9d1 100644 --- a/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs +++ b/OpenSim/Region/Environment/Modules/World/WorldMap/WorldMapModule.cs | |||
@@ -540,7 +540,17 @@ namespace OpenSim.Region.Environment.Modules.World.WorldMap | |||
540 | } | 540 | } |
541 | if (httpserver.Length == 0) | 541 | if (httpserver.Length == 0) |
542 | { | 542 | { |
543 | RegionInfo mreg = m_scene.SceneGridService.RequestNeighbouringRegionInfo(regionhandle); | 543 | RegionInfo mreg = null; |
544 | |||
545 | try | ||
546 | { | ||
547 | mreg = m_scene.SceneGridService.RequestNeighbouringRegionInfo(regionhandle); | ||
548 | } | ||
549 | catch (Exception e) | ||
550 | { | ||
551 | m_log.WarnFormat("[WorldMap]: Requesting neighbour region info failed with exception {0}", e); | ||
552 | } | ||
553 | |||
544 | if (mreg != null) | 554 | if (mreg != null) |
545 | { | 555 | { |
546 | httpserver = "http://" + mreg.ExternalEndPoint.Address.ToString() + ":" + mreg.HttpPort + "/MAP/MapItems/" + regionhandle.ToString(); | 556 | httpserver = "http://" + mreg.ExternalEndPoint.Address.ToString() + ":" + mreg.HttpPort + "/MAP/MapItems/" + regionhandle.ToString(); |