From 45342067f5f5d5f6ca86f9ed179f275ed6131fea Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 12 Jun 2009 15:41:53 +0000 Subject: * Move standalone login setup in LLStandaloneLoginmodule to RegionLoaded() from AddRegion() * This is necessary to avoid a dependency problem where LLStandaloneLoginModule references IInventoryService before the LocalInventoryServiceConnector is registered * Correct some copypasta log messages in LocalInventoryServiceConnector --- .../Inventory/LocalInventoryServiceConnector.cs | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/CoreModules') diff --git a/OpenSim/Region/CoreModules/ServiceConnectors/Inventory/LocalInventoryServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectors/Inventory/LocalInventoryServiceConnector.cs index 69a37a9..bc833c3 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectors/Inventory/LocalInventoryServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectors/Inventory/LocalInventoryServiceConnector.cs @@ -105,7 +105,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Inventory //} m_Enabled = true; - m_log.Info("[INVENTORY CONNECTOR]: Local asset connector enabled"); + m_log.Info("[INVENTORY CONNECTOR]: Local inventory connector enabled"); } } } @@ -120,6 +120,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Inventory public void AddRegion(Scene scene) { + m_log.DebugFormat("HEEEERE"); if (!m_Enabled) return; @@ -131,8 +132,10 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Inventory m_Initialized = true; } + m_log.DebugFormat( + "[INVENTORY CONNECTOR]: Registering IInventoryService to scene {0}", scene.RegionInfo.RegionName); + scene.RegisterModuleInterface(this); - } public void RemoveRegion(Scene scene) @@ -144,8 +147,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectors.Inventory if (!m_Enabled) return; - m_log.InfoFormat("[INVENTORY CONNECTOR]: Enabled local assets for region {0}", scene.RegionInfo.RegionName); - + m_log.InfoFormat( + "[INVENTORY CONNECTOR]: Enabled local invnetory for region {0}", scene.RegionInfo.RegionName); } #region IInventoryService -- cgit v1.1