diff options
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs index 312832f..6043b70 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | |||
@@ -167,10 +167,10 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
167 | 167 | ||
168 | public List<GridRegion> GetNeighbours(UUID scopeID, UUID regionID) | 168 | public List<GridRegion> GetNeighbours(UUID scopeID, UUID regionID) |
169 | { | 169 | { |
170 | const int NEIGHBOR_RADIUS = 128; | ||
171 | |||
172 | GridRegion region = GetRegionByUUID(scopeID, regionID); | 170 | GridRegion region = GetRegionByUUID(scopeID, regionID); |
173 | 171 | ||
172 | int NEIGHBOR_RADIUS = Math.Max(region.RegionSizeX, region.RegionSizeY) / 2; | ||
173 | |||
174 | if (region != null) | 174 | if (region != null) |
175 | { | 175 | { |
176 | List<GridRegion> regions = GetRegionRange(scopeID, | 176 | List<GridRegion> regions = GetRegionRange(scopeID, |
@@ -413,6 +413,13 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
413 | return -1; | 413 | return -1; |
414 | } | 414 | } |
415 | } | 415 | } |
416 | |||
417 | public Dictionary<string, object> GetExtraFeatures() | ||
418 | { | ||
419 | /// See SimulatorFeaturesModule - Need to get map, search and destination guide | ||
420 | Dictionary<string, object> extraFeatures = new Dictionary<string, object>(); | ||
421 | return extraFeatures; | ||
422 | } | ||
416 | 423 | ||
417 | #endregion IGridService | 424 | #endregion IGridService |
418 | 425 | ||