diff options
author | Teravus Ovares | 2007-12-12 01:10:54 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-12 01:10:54 +0000 |
commit | e32150b1db0b081d0a6b2e4f0a01565258bd8f6a (patch) | |
tree | e77373a0ffdf95e7b053864ddb4ae645f5e21d94 /OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |
parent | * Start listening for client connections immediately after a region initializ... (diff) | |
download | opensim-SC_OLD-e32150b1db0b081d0a6b2e4f0a01565258bd8f6a.zip opensim-SC_OLD-e32150b1db0b081d0a6b2e4f0a01565258bd8f6a.tar.gz opensim-SC_OLD-e32150b1db0b081d0a6b2e4f0a01565258bd8f6a.tar.bz2 opensim-SC_OLD-e32150b1db0b081d0a6b2e4f0a01565258bd8f6a.tar.xz |
* Temporarily sisabled neighbour cache for regions in the SceneCommunicationService
* This will fix the grid mode (not seeing regions) issue
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs')
-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++) |