diff options
Diffstat (limited to 'OpenSim/Services/GridService/GridService.cs')
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 515d620..4dee7a4 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -329,7 +329,7 @@ namespace OpenSim.Services.GridService | |||
329 | } | 329 | } |
330 | } | 330 | } |
331 | 331 | ||
332 | if (m_AllowHypergridMapSearch && rdatas.Count == 0 && name.Contains(".")) | 332 | if (m_AllowHypergridMapSearch && rdatas == null || (rdatas != null && rdatas.Count == 0) && name.Contains(".")) |
333 | { | 333 | { |
334 | GridRegion r = m_HypergridLinker.LinkRegion(scopeID, name); | 334 | GridRegion r = m_HypergridLinker.LinkRegion(scopeID, name); |
335 | if (r != null) | 335 | if (r != null) |
@@ -412,6 +412,7 @@ namespace OpenSim.Services.GridService | |||
412 | ret.Add(RegionData2RegionInfo(r)); | 412 | ret.Add(RegionData2RegionInfo(r)); |
413 | } | 413 | } |
414 | 414 | ||
415 | m_log.DebugFormat("[GRID SERVICE]: Fallback returned {0} regions", ret.Count); | ||
415 | return ret; | 416 | return ret; |
416 | } | 417 | } |
417 | 418 | ||