diff options
author | Diva Canto | 2010-08-06 17:43:09 -0700 |
---|---|---|
committer | Diva Canto | 2010-08-06 17:43:09 -0700 |
commit | 009053479302e7581a85c7574a6cc8eaa23745d8 (patch) | |
tree | 7b11018e7368719d40f75d475db45777e6fecf2b /OpenSim/Services/GridService/GridService.cs | |
parent | Allow creation of link regions if there is an existing region within a 4096 r... (diff) | |
download | opensim-SC_OLD-009053479302e7581a85c7574a6cc8eaa23745d8.zip opensim-SC_OLD-009053479302e7581a85c7574a6cc8eaa23745d8.tar.gz opensim-SC_OLD-009053479302e7581a85c7574a6cc8eaa23745d8.tar.bz2 opensim-SC_OLD-009053479302e7581a85c7574a6cc8eaa23745d8.tar.xz |
Added Check4096 config var under [GridService], at the request of many. Changed the iteration that Marck had on the Hyperlinker.
ATTENTION! CONFIGURATION CHANGE AFFECTING Robust.HG.ini.example and StandaloneCommon.ini.example.
Diffstat (limited to 'OpenSim/Services/GridService/GridService.cs')
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 79a45fe..ce6f64b 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -426,21 +426,21 @@ namespace OpenSim.Services.GridService | |||
426 | return ret; | 426 | return ret; |
427 | } | 427 | } |
428 | 428 | ||
429 | public List<GridRegion> GetHyperlinks(UUID scopeID) | 429 | public List<GridRegion> GetHyperlinks(UUID scopeID) |
430 | { | 430 | { |
431 | List<GridRegion> ret = new List<GridRegion>(); | 431 | List<GridRegion> ret = new List<GridRegion>(); |
432 | 432 | ||
433 | List<RegionData> regions = m_Database.GetHyperlinks(scopeID); | 433 | List<RegionData> regions = m_Database.GetHyperlinks(scopeID); |
434 | 434 | ||
435 | foreach (RegionData r in regions) | 435 | foreach (RegionData r in regions) |
436 | { | 436 | { |
437 | if ((Convert.ToInt32(r.Data["flags"]) & (int)OpenSim.Data.RegionFlags.RegionOnline) != 0) | 437 | if ((Convert.ToInt32(r.Data["flags"]) & (int)OpenSim.Data.RegionFlags.RegionOnline) != 0) |
438 | ret.Add(RegionData2RegionInfo(r)); | 438 | ret.Add(RegionData2RegionInfo(r)); |
439 | } | 439 | } |
440 | 440 | ||
441 | m_log.DebugFormat("[GRID SERVICE]: Hyperlinks returned {0} regions", ret.Count); | 441 | m_log.DebugFormat("[GRID SERVICE]: Hyperlinks returned {0} regions", ret.Count); |
442 | return ret; | 442 | return ret; |
443 | } | 443 | } |
444 | 444 | ||
445 | public int GetRegionFlags(UUID scopeID, UUID regionID) | 445 | public int GetRegionFlags(UUID scopeID, UUID regionID) |
446 | { | 446 | { |