diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 6250f2b..c72e344 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -233,6 +233,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
233 | neighbours.Add(new SimpleRegionInfo(lstneighbours[i])); | 233 | neighbours.Add(new SimpleRegionInfo(lstneighbours[i])); |
234 | } | 234 | } |
235 | } | 235 | } |
236 | // we're going to be using the above code once neighbour cache is correct. Currently it doesn't appear to be | ||
237 | // So we're temporarily going back to the old method of grabbing it from the Grid Server Every time :/ | ||
238 | neighbours = | ||
239 | m_commsProvider.GridService.RequestNeighbours(m_regionInfo.RegionLocX, m_regionInfo.RegionLocY); | ||
240 | |||
236 | if (neighbours != null) | 241 | if (neighbours != null) |
237 | { | 242 | { |
238 | for (int i = 0; i < neighbours.Count; i++) | 243 | for (int i = 0; i < neighbours.Count; i++) |