From e32150b1db0b081d0a6b2e4f0a01565258bd8f6a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 12 Dec 2007 01:10:54 +0000 Subject: * Temporarily sisabled neighbour cache for regions in the SceneCommunicationService * This will fix the grid mode (not seeing regions) issue --- OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim') 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 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) { for (int i = 0; i < neighbours.Count; i++) -- cgit v1.1