aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService
diff options
context:
space:
mode:
authorMelanie2011-02-07 22:08:53 +0000
committerMelanie2011-02-07 22:08:53 +0000
commit3889e68c5441218a2ffeb2094b8251d31369837b (patch)
tree69608c869c3823df4f417d9df34866f400045533 /OpenSim/Services/GridService
parentRepair x-query-string (diff)
parentMerge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff)
downloadopensim-SC_OLD-3889e68c5441218a2ffeb2094b8251d31369837b.zip
opensim-SC_OLD-3889e68c5441218a2ffeb2094b8251d31369837b.tar.gz
opensim-SC_OLD-3889e68c5441218a2ffeb2094b8251d31369837b.tar.bz2
opensim-SC_OLD-3889e68c5441218a2ffeb2094b8251d31369837b.tar.xz
Merge branch 'master' into careminster-presence-refactor
Conflicts: OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiverModule.cs OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs OpenSim/Server/Handlers/Simulation/AgentHandlers.cs OpenSim/Services/Connectors/SimianGrid/SimianGridMaptileModule.cs OpenSim/Services/GridService/HypergridLinker.cs
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/GridService/GridService.cs2
-rw-r--r--OpenSim/Services/GridService/HypergridLinker.cs19
2 files changed, 18 insertions, 3 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 125c2be..aeff9b5 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -286,7 +286,7 @@ namespace OpenSim.Services.GridService
286 } 286 }
287 287
288 } 288 }
289 m_log.DebugFormat("[GRID SERVICE]: region {0} has {1} neighours", region.RegionName, rinfos.Count); 289 m_log.DebugFormat("[GRID SERVICE]: region {0} has {1} neighbours", region.RegionName, rinfos.Count);
290 return rinfos; 290 return rinfos;
291 } 291 }
292 292
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs
index c02c813..553c116 100644
--- a/OpenSim/Services/GridService/HypergridLinker.cs
+++ b/OpenSim/Services/GridService/HypergridLinker.cs
@@ -191,6 +191,7 @@ namespace OpenSim.Services.GridService
191 } 191 }
192 if (parts.Length >= 2) 192 if (parts.Length >= 2)
193 { 193 {
194<<<<<<< HEAD:OpenSim/Services/GridService/HypergridLinker.cs
194 portstr = parts[1]; 195 portstr = parts[1];
195 //m_log.Debug("-- port = " + portstr); 196 //m_log.Debug("-- port = " + portstr);
196 if (!UInt32.TryParse(portstr, out port)) 197 if (!UInt32.TryParse(portstr, out port))
@@ -219,6 +220,20 @@ namespace OpenSim.Services.GridService
219 { 220 {
220 regInfo.RegionName = mapName; 221 regInfo.RegionName = mapName;
221 return regInfo; 222 return regInfo;
223=======
224 string[] parts = mapName.Split(new char[] {' '});
225 string regionName = String.Empty;
226 if (parts.Length > 1)
227 {
228 regionName = mapName.Substring(parts[0].Length + 1);
229 regionName = regionName.Trim(new char[] {'"'});
230 }
231 if (TryCreateLink(scopeID, xloc, yloc, regionName, 0, null, parts[0], ownerID, out regInfo, out reason))
232 {
233 regInfo.RegionName = mapName;
234 return regInfo;
235 }
236>>>>>>> master:OpenSim/Services/GridService/HypergridLinker.cs
222 } 237 }
223 238
224 return null; 239 return null;
@@ -313,9 +328,9 @@ namespace OpenSim.Services.GridService
313 328
314 regInfo.RegionID = regionID; 329 regInfo.RegionID = regionID;
315 330
316 if ( externalName == string.Empty ) 331 if (externalName == string.Empty)
317 regInfo.RegionName = regInfo.ServerURI; 332 regInfo.RegionName = regInfo.ServerURI;
318 else 333 else
319 regInfo.RegionName = externalName; 334 regInfo.RegionName = externalName;
320 335
321 m_log.Debug("[HYPERGRID LINKER]: naming linked region " + regInfo.RegionName); 336 m_log.Debug("[HYPERGRID LINKER]: naming linked region " + regInfo.RegionName);