Merge branch 'master' of ssh://opensimulator.org/var/git/opensim

This commit is contained in:
Mic Bowman
2011-02-04 14:22:17 -08:00
7 changed files with 44 additions and 26 deletions

View File

@@ -286,7 +286,7 @@ namespace OpenSim.Services.GridService
}
}
m_log.DebugFormat("[GRID SERVICE]: region {0} has {1} neighours", region.RegionName, rinfos.Count);
m_log.DebugFormat("[GRID SERVICE]: region {0} has {1} neighbours", region.RegionName, rinfos.Count);
return rinfos;
}

View File

@@ -220,9 +220,15 @@ namespace OpenSim.Services.GridService
string[] parts = mapName.Split(new char[] {' '});
string regionName = String.Empty;
if (parts.Length > 1)
regionName = parts[1];
{
regionName = mapName.Substring(parts[0].Length + 1);
regionName = regionName.Trim(new char[] {'"'});
}
if (TryCreateLink(scopeID, xloc, yloc, regionName, 0, null, parts[0], ownerID, out regInfo, out reason))
{
regInfo.RegionName = mapName;
return regInfo;
}
}
return null;
@@ -317,9 +323,9 @@ namespace OpenSim.Services.GridService
regInfo.RegionID = regionID;
if ( externalName == string.Empty )
if (externalName == string.Empty)
regInfo.RegionName = regInfo.ServerURI;
else
else
regInfo.RegionName = externalName;
m_log.Debug("[HYPERGRID LINKER]: naming linked region " + regInfo.RegionName);