From 4748c19bdbcdcaf6050e1f04a5f7394a88e0bf3e Mon Sep 17 00:00:00 2001 From: Dan Lake Date: Thu, 6 Oct 2011 22:47:33 -0700 Subject: Refactored "known child region" in ScenePresence. There were 4 different ways to access the list/dictionary of child regions and locking was inconsistent. There are now public properties which enforce locks. Callers are no longer required to create new copies of lists. --- OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs') diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 837e655..7cffa70 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs @@ -229,7 +229,7 @@ namespace OpenSim.Region.Framework.Scenes { uint x = 0, y = 0; List simulatorList = new List(); - foreach (ulong regionHandle in presence.KnownChildRegionHandles) + foreach (ulong regionHandle in presence.KnownRegionHandles) { if (regionHandle != m_regionInfo.RegionHandle) { -- cgit v1.1