From dd770c384c2e63cf8a1e2f522741afb8adfab4c2 Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Mon, 22 Oct 2007 17:55:49 +0000 Subject: * Made EstateSetting static since there's only one instance, and we only need to create it once * Now cacheing RegionInfos indefinitively; we should add a tiomeout to this cache --- OpenSim/Region/Communications/Local/LocalBackEndServices.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Communications/Local') diff --git a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs index b14bd3d..dbac148 100644 --- a/OpenSim/Region/Communications/Local/LocalBackEndServices.cs +++ b/OpenSim/Region/Communications/Local/LocalBackEndServices.cs @@ -39,6 +39,7 @@ namespace OpenSim.Region.Communications.Local { protected Dictionary m_regions = new Dictionary(); protected Dictionary m_regionListeners = new Dictionary(); + private Dictionary m_remoteRegionInfoCache = new Dictionary(); public LocalBackEndServices() { @@ -128,8 +129,8 @@ namespace OpenSim.Region.Communications.Local map.Name = regInfo.RegionName; map.X = (ushort)regInfo.RegionLocX; map.Y = (ushort)regInfo.RegionLocY; - map.WaterHeight = (byte)regInfo.estateSettings.waterHeight; - map.MapImageId = regInfo.estateSettings.terrainImageID; //new LLUUID("00000000-0000-0000-9999-000000000007"); + map.WaterHeight = (byte)regInfo.EstateSettings.waterHeight; + map.MapImageId = regInfo.EstateSettings.terrainImageID; //new LLUUID("00000000-0000-0000-9999-000000000007"); map.Agents = 1; map.RegionFlags = 72458694; map.Access = 13; -- cgit v1.1