aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-31 18:29:08 +0000
committerJustin Clarke Casey2008-03-31 18:29:08 +0000
commit93303072dd4edbb7d41ed629787bd22494b30cc1 (patch)
treed4a9865accd96c68747bf889db46e5793533834b /OpenSim/Framework
parent* Log exceptions which make it up to the top of the http request frame, rathe... (diff)
downloadopensim-SC_OLD-93303072dd4edbb7d41ed629787bd22494b30cc1.zip
opensim-SC_OLD-93303072dd4edbb7d41ed629787bd22494b30cc1.tar.gz
opensim-SC_OLD-93303072dd4edbb7d41ed629787bd22494b30cc1.tar.bz2
opensim-SC_OLD-93303072dd4edbb7d41ed629787bd22494b30cc1.tar.xz
* Minor: If a user exists but has no inventory in standalone, automatically create new inventory folders
* This mirrors the grid behaviour
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/InventoryServiceBase.cs7
1 files changed, 4 insertions, 3 deletions
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
79 // See IInventoryServices 79 // See IInventoryServices
80 public List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId) 80 public List<InventoryFolderBase> GetInventorySkeleton(LLUUID userId)
81 { 81 {
82 m_log.DebugFormat("[AGENT INVENTORY]: Getting inventory skeleton for {0}", userId); 82// m_log.DebugFormat("[AGENT INVENTORY]: Getting inventory skeleton for {0}", userId);
83 83
84 InventoryFolderBase rootFolder = RequestRootFolder(userId); 84 InventoryFolderBase rootFolder = RequestRootFolder(userId);
85 85
@@ -87,9 +87,10 @@ namespace OpenSim.Framework.Communications
87 if (null == rootFolder) 87 if (null == rootFolder)
88 { 88 {
89 return null; 89 return null;
90 } 90 }
91
92 List<InventoryFolderBase> userFolders = new List<InventoryFolderBase>();
91 93
92 List<InventoryFolderBase> userFolders = new List<InventoryFolderBase>();
93 userFolders.Add(rootFolder); 94 userFolders.Add(rootFolder);
94 95
95 foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins) 96 foreach (KeyValuePair<string, IInventoryData> plugin in m_plugins)