aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/GridService.cs
diff options
context:
space:
mode:
authorMelanie2010-05-03 21:25:40 +0100
committerMelanie2010-05-03 21:25:40 +0100
commitf61b879f2dd23470fe8e51a1f2d14c62b90043d4 (patch)
tree101882581a70b93fddd80049acbb8fef4ebe69ab /OpenSim/Services/GridService/GridService.cs
parentStore given items in correct parent folder. Fixes items given to offline avatars (diff)
parentAssorted bug fixes in hypergrid linking. (diff)
downloadopensim-SC_OLD-f61b879f2dd23470fe8e51a1f2d14c62b90043d4.zip
opensim-SC_OLD-f61b879f2dd23470fe8e51a1f2d14c62b90043d4.tar.gz
opensim-SC_OLD-f61b879f2dd23470fe8e51a1f2d14c62b90043d4.tar.bz2
opensim-SC_OLD-f61b879f2dd23470fe8e51a1f2d14c62b90043d4.tar.xz
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to 'OpenSim/Services/GridService/GridService.cs')
-rw-r--r--OpenSim/Services/GridService/GridService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 2faf018..4089fce 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -315,6 +315,8 @@ namespace OpenSim.Services.GridService
315 315
316 public List<GridRegion> GetRegionsByName(UUID scopeID, string name, int maxNumber) 316 public List<GridRegion> GetRegionsByName(UUID scopeID, string name, int maxNumber)
317 { 317 {
318 m_log.DebugFormat("[GRID SERVICE]: GetRegionsByName {0}", name);
319
318 List<RegionData> rdatas = m_Database.Get("%" + name + "%", scopeID); 320 List<RegionData> rdatas = m_Database.Get("%" + name + "%", scopeID);
319 321
320 int count = 0; 322 int count = 0;
@@ -329,7 +331,7 @@ namespace OpenSim.Services.GridService
329 } 331 }
330 } 332 }
331 333
332 if (m_AllowHypergridMapSearch && rdatas == null || (rdatas != null && rdatas.Count == 0) && name.Contains(".")) 334 if (m_AllowHypergridMapSearch && (rdatas == null || (rdatas != null && rdatas.Count == 0) && name.Contains(".")))
333 { 335 {
334 GridRegion r = m_HypergridLinker.LinkRegion(scopeID, name); 336 GridRegion r = m_HypergridLinker.LinkRegion(scopeID, name);
335 if (r != null) 337 if (r != null)
@@ -397,6 +399,7 @@ namespace OpenSim.Services.GridService
397 ret.Add(RegionData2RegionInfo(r)); 399 ret.Add(RegionData2RegionInfo(r));
398 } 400 }
399 401
402 m_log.DebugFormat("[GRID SERVICE]: GetDefaultRegions returning {0} regions", ret.Count);
400 return ret; 403 return ret;
401 } 404 }
402 405