aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services
diff options
context:
space:
mode:
authorDiva Canto2009-09-23 20:39:25 -0700
committerDiva Canto2009-09-23 20:39:25 -0700
commitfd8fb7735b0eb6150679ccad84b2a32fd5315a38 (patch)
treeca5c4d382d30a6fc68aa20b5d4d444af8fb1e082 /OpenSim/Services
parentUnit tests for the grid service. Yey! (diff)
downloadopensim-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.cs3
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;