diff options
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.
Diffstat (limited to 'OpenSim/Framework/Communications/UserManagerBase.cs')
-rw-r--r-- | OpenSim/Framework/Communications/UserManagerBase.cs | 3 |
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 | { |