0.7.3-post-fixes
parent
824318a0c1
commit
d7651a389e
|
@ -94,6 +94,18 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
|
||||||
|
|
||||||
//m_log.DebugFormat("MAP NAME=({0})", mapName);
|
//m_log.DebugFormat("MAP NAME=({0})", mapName);
|
||||||
|
|
||||||
|
// Hack to get around the fact that ll V3 now drops the port from the
|
||||||
|
// map name. See https://jira.secondlife.com/browse/VWR-28570
|
||||||
|
//
|
||||||
|
// Caller, use this form instead:
|
||||||
|
// secondlife://mygrid.com|8002+Region+Name/128/128
|
||||||
|
// the hacks we do with this viewer...
|
||||||
|
//
|
||||||
|
if (mapName.Contains("|"))
|
||||||
|
mapName = mapName.Replace('|', ':');
|
||||||
|
if (mapName.Contains("+"))
|
||||||
|
mapName = mapName.Replace('+', ' ');
|
||||||
|
|
||||||
// try to fetch from GridServer
|
// try to fetch from GridServer
|
||||||
List<GridRegion> regionInfos = m_scene.GridService.GetRegionsByName(m_scene.RegionInfo.ScopeID, mapName, 20);
|
List<GridRegion> regionInfos = m_scene.GridService.GetRegionsByName(m_scene.RegionInfo.ScopeID, mapName, 20);
|
||||||
if (regionInfos.Count == 0)
|
if (regionInfos.Count == 0)
|
||||||
|
|
Loading…
Reference in New Issue