* Temporarily sisabled neighbour cache for regions in the SceneCommunicationService

* This will fix the grid mode (not seeing regions) issue
afrisby
Teravus Ovares 2007-12-12 01:10:54 +00:00
parent 9abe4b2ebf
commit e32150b1db
1 changed files with 5 additions and 0 deletions

View File

@ -233,6 +233,11 @@ namespace OpenSim.Region.Environment.Scenes
neighbours.Add(new SimpleRegionInfo(lstneighbours[i])); neighbours.Add(new SimpleRegionInfo(lstneighbours[i]));
} }
} }
// we're going to be using the above code once neighbour cache is correct. Currently it doesn't appear to be
// So we're temporarily going back to the old method of grabbing it from the Grid Server Every time :/
neighbours =
m_commsProvider.GridService.RequestNeighbours(m_regionInfo.RegionLocX, m_regionInfo.RegionLocY);
if (neighbours != null) if (neighbours != null)
{ {
for (int i = 0; i < neighbours.Count; i++) for (int i = 0; i < neighbours.Count; i++)