From 8157182d378de82ae7443b57a90e07267ce1466e Mon Sep 17 00:00:00 2001 From: mingchen Date: Fri, 8 Jun 2007 19:30:27 +0000 Subject: *RegionInfo in Avatar class now protected again (oops, my fault) --- OpenSim/OpenSim.World/World.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'OpenSim/OpenSim.World/World.cs') diff --git a/OpenSim/OpenSim.World/World.cs b/OpenSim/OpenSim.World/World.cs index 1f97820..e51c983 100644 --- a/OpenSim/OpenSim.World/World.cs +++ b/OpenSim/OpenSim.World/World.cs @@ -83,6 +83,9 @@ namespace OpenSim.world this.m_datastore = m_regInfo.DataStore; this.RegisterRegionWithComms(); + parcelManager = new ParcelManager(this,this.m_regInfo); + estateManager = new EstateManager(this,this.m_regInfo); + m_scriptHandlers = new Dictionary(); m_scripts = new Dictionary(); @@ -463,7 +466,7 @@ namespace OpenSim.world try { OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Creating new avatar for remote viewer agent"); - newAvatar = new Avatar(remoteClient, this, m_clientThreads); + newAvatar = new Avatar(remoteClient, this, m_clientThreads,this.m_regInfo); OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Adding new avatar to world"); OpenSim.Framework.Console.MainConsole.Instance.WriteLine(OpenSim.Framework.Console.LogPriority.LOW, "World.cs:AddViewerAgent() - Starting RegionHandshake "); newAvatar.SendRegionHandshake(); -- cgit v1.1