diff options
author | Diva Canto | 2012-03-15 16:13:50 -0700 |
---|---|---|
committer | Diva Canto | 2012-03-15 16:13:50 -0700 |
commit | 8bd813e6fce80f8d334320f394c01e419c86ab15 (patch) | |
tree | 4cb05aca6c7c1bb9d788437156e8a39d68b3f547 /OpenSim | |
parent | Revert "Hack around https://jira.secondlife.com/browse/VWR-28570" (diff) | |
download | opensim-SC_OLD-8bd813e6fce80f8d334320f394c01e419c86ab15.zip opensim-SC_OLD-8bd813e6fce80f8d334320f394c01e419c86ab15.tar.gz opensim-SC_OLD-8bd813e6fce80f8d334320f394c01e419c86ab15.tar.bz2 opensim-SC_OLD-8bd813e6fce80f8d334320f394c01e419c86ab15.tar.xz |
Revert "Revert "Hack around https://jira.secondlife.com/browse/VWR-28570""
This reverts commit 09ff121654ca3d3444571507030435020e64133a.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs index 657975b..c8c80db 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs | |||
@@ -92,7 +92,19 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
92 | return; | 92 | return; |
93 | } | 93 | } |
94 | 94 | ||
95 | //m_log.DebugFormat("MAP NAME=({0})", mapName); | 95 | //m_log.DebugFormat("MAP NAME=({0})", mapName); |
96 | |||
97 | // Hack to get around the fact that ll V3 now drops the port from the | ||
98 | // map name. See https://jira.secondlife.com/browse/VWR-28570 | ||
99 | // | ||
100 | // Caller, use this form instead: | ||
101 | // secondlife://mygrid.com|8002+Region+Name/128/128 | ||
102 | // the hacks we do with this viewer... | ||
103 | // | ||
104 | if (mapName.Contains("|")) | ||
105 | mapName = mapName.Replace('|', ':'); | ||
106 | if (mapName.Contains("+")) | ||
107 | mapName = mapName.Replace('+', ' '); | ||
96 | 108 | ||
97 | // try to fetch from GridServer | 109 | // try to fetch from GridServer |
98 | List<GridRegion> regionInfos = m_scene.GridService.GetRegionsByName(m_scene.RegionInfo.ScopeID, mapName, 20); | 110 | List<GridRegion> regionInfos = m_scene.GridService.GetRegionsByName(m_scene.RegionInfo.ScopeID, mapName, 20); |