From 93303072dd4edbb7d41ed629787bd22494b30cc1 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 31 Mar 2008 18:29:08 +0000 Subject: * Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders * This mirrors the grid behaviour --- OpenSim/Framework/Communications/InventoryServiceBase.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Communications/InventoryServiceBase.cs b/OpenSim/Framework/Communications/InventoryServiceBase.cs index f38abd3..feb0cca 100644 --- a/OpenSim/Framework/Communications/InventoryServiceBase.cs +++ b/OpenSim/Framework/Communications/InventoryServiceBase.cs @@ -79,7 +79,7 @@ namespace OpenSim.Framework.Communications // See IInventoryServices public List GetInventorySkeleton(LLUUID userId) { - m_log.DebugFormat("[AGENT INVENTORY]: Getting inventory skeleton for {0}", userId); +// m_log.DebugFormat("[AGENT INVENTORY]: Getting inventory skeleton for {0}", userId); InventoryFolderBase rootFolder = RequestRootFolder(userId); @@ -87,9 +87,10 @@ namespace OpenSim.Framework.Communications if (null == rootFolder) { return null; - } + } + + List userFolders = new List(); - List userFolders = new List(); userFolders.Add(rootFolder); foreach (KeyValuePair plugin in m_plugins) -- cgit v1.1