aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordiva2009-06-10 20:31:02 +0000
committerdiva2009-06-10 20:31:02 +0000
commit6ddf70b1284a1f5096a49abc77936a5f813e9f56 (patch)
tree8b32c755102091193c150c63337901216a4b3b15
parentFixed problem in configuration for GridHypergrid.ini. (diff)
downloadopensim-SC_OLD-6ddf70b1284a1f5096a49abc77936a5f813e9f56.zip
opensim-SC_OLD-6ddf70b1284a1f5096a49abc77936a5f813e9f56.tar.gz
opensim-SC_OLD-6ddf70b1284a1f5096a49abc77936a5f813e9f56.tar.bz2
opensim-SC_OLD-6ddf70b1284a1f5096a49abc77936a5f813e9f56.tar.xz
Bug fix for creating users in standalone: the newly-created root folder was not being set in the cached profile. I suspect this bug has been around for a while.
-rw-r--r--OpenSim/Framework/Communications/UserManagerBase.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/UserManagerBase.cs b/OpenSim/Framework/Communications/UserManagerBase.cs
index 898239d..b9044eb 100644
--- a/OpenSim/Framework/Communications/UserManagerBase.cs
+++ b/OpenSim/Framework/Communications/UserManagerBase.cs
@@ -694,6 +694,9 @@ namespace OpenSim.Framework.Communications
694 // local service (standalone) 694 // local service (standalone)
695 m_log.Debug("[USERSTORAGE]: using IInventoryService to create user's inventory"); 695 m_log.Debug("[USERSTORAGE]: using IInventoryService to create user's inventory");
696 m_InventoryService.CreateUserInventory(userProf.ID); 696 m_InventoryService.CreateUserInventory(userProf.ID);
697 InventoryFolderBase rootfolder = m_InventoryService.RequestRootFolder(userProf.ID);
698 if (rootfolder != null)
699 userProf.RootInventoryFolderID = rootfolder.ID;
697 } 700 }
698 else 701 else
699 { 702 {