diff options
author | Diva Canto | 2009-09-23 20:39:25 -0700 |
---|---|---|
committer | Diva Canto | 2009-09-23 20:39:25 -0700 |
commit | fd8fb7735b0eb6150679ccad84b2a32fd5315a38 (patch) | |
tree | ca5c4d382d30a6fc68aa20b5d4d444af8fb1e082 /OpenSim/Services | |
parent | Unit tests for the grid service. Yey! (diff) | |
download | opensim-SC-fd8fb7735b0eb6150679ccad84b2a32fd5315a38.zip opensim-SC-fd8fb7735b0eb6150679ccad84b2a32fd5315a38.tar.gz opensim-SC-fd8fb7735b0eb6150679ccad84b2a32fd5315a38.tar.bz2 opensim-SC-fd8fb7735b0eb6150679ccad84b2a32fd5315a38.tar.xz |
First test passes -- regions being registered and retrieved correctly in Data.Null.
Diffstat (limited to 'OpenSim/Services')
-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 cd462ab..1b297dc 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -101,7 +101,8 @@ namespace OpenSim.Services.GridService | |||
101 | region.posX + (int)Constants.RegionSize, region.posY + (int)Constants.RegionSize, scopeID); | 101 | region.posX + (int)Constants.RegionSize, region.posY + (int)Constants.RegionSize, scopeID); |
102 | 102 | ||
103 | foreach (RegionData rdata in rdatas) | 103 | foreach (RegionData rdata in rdatas) |
104 | rinfos.Add(RegionData2RegionInfo(rdata)); | 104 | if (rdata.RegionID != regionID) |
105 | rinfos.Add(RegionData2RegionInfo(rdata)); | ||
105 | 106 | ||
106 | } | 107 | } |
107 | return rinfos; | 108 | return rinfos; |