From a85f496f4d097a4441ae9e6df8e282c4b327e75a Mon Sep 17 00:00:00 2001 From: Arthur Valadares Date: Thu, 21 May 2009 20:28:59 +0000 Subject: * Upgraded LLStandaloneLoginModule, LLProxyLoginModule and LLClientStackModule to new region modules. This was needed because the stand alone and grid modules weren't deleting old scenes, which caused an issue when deleting and recreating a region with same name on same x,y coordinates. Tested it on standalone and issue is fixed. Requires prebuild to be run again. Fixes Mantis #3699 --- OpenSim/Client/Linden/LLClientStackModule.cs | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'OpenSim/Client/Linden/LLClientStackModule.cs') diff --git a/OpenSim/Client/Linden/LLClientStackModule.cs b/OpenSim/Client/Linden/LLClientStackModule.cs index 461c651..74612bb 100644 --- a/OpenSim/Client/Linden/LLClientStackModule.cs +++ b/OpenSim/Client/Linden/LLClientStackModule.cs @@ -1,4 +1,4 @@ -/* +/* * Copyright (c) Contributors, http://opensimulator.org/ * See CONTRIBUTORS.TXT for a full list of copyright holders. * @@ -41,7 +41,7 @@ using OpenSim.Region.Framework.Interfaces; namespace OpenSim.Client.Linden { - public class LLClientStackModule : IRegionModule + public class LLClientStackModule : INonSharedRegionModule { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); @@ -55,11 +55,10 @@ namespace OpenSim.Client.Linden protected string m_clientStackDll = "OpenSim.Region.ClientStack.LindenUDP.dll"; - public void Initialise(Scene scene, IConfigSource source) + public void Initialise(IConfigSource source) { if (m_scene == null) { - m_scene = scene; m_source = source; IConfig startupConfig = m_source.Configs["Startup"]; @@ -70,8 +69,23 @@ namespace OpenSim.Client.Linden } } - public void PostInitialise() + public void AddRegion(Scene scene) { + + } + + public void RemoveRegion(Scene scene) + { + + } + + public void RegionLoaded(Scene scene) + { + if (m_scene == null) + { + m_scene = scene; + } + if ((m_scene != null) && (m_createClientStack)) { m_log.Info("[LLClientStackModule] Starting up LLClientStack."); -- cgit v1.1