diff options
author | Diva Canto | 2012-03-15 10:17:02 -0700 |
---|---|---|
committer | Diva Canto | 2012-03-15 10:18:55 -0700 |
commit | d7651a389e0a5bbd1a1bfc95fa0cb8823b839dad (patch) | |
tree | 4cb05aca6c7c1bb9d788437156e8a39d68b3f547 /OpenSim/Region/CoreModules/World/WorldMap/MapSearchModule.cs | |
parent | Go back to setting appearance directly in NPCModule.SetAppearance() to fix ma... (diff) | |
download | opensim-SC_OLD-d7651a389e0a5bbd1a1bfc95fa0cb8823b839dad.zip opensim-SC_OLD-d7651a389e0a5bbd1a1bfc95fa0cb8823b839dad.tar.gz opensim-SC_OLD-d7651a389e0a5bbd1a1bfc95fa0cb8823b839dad.tar.bz2 opensim-SC_OLD-d7651a389e0a5bbd1a1bfc95fa0cb8823b839dad.tar.xz |
Hack around https://jira.secondlife.com/browse/VWR-28570
Diffstat (limited to '')
-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); |