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.
parent
7f772d7a7d
commit
6ddf70b128
|
@ -694,6 +694,9 @@ namespace OpenSim.Framework.Communications
|
||||||
// local service (standalone)
|
// local service (standalone)
|
||||||
m_log.Debug("[USERSTORAGE]: using IInventoryService to create user's inventory");
|
m_log.Debug("[USERSTORAGE]: using IInventoryService to create user's inventory");
|
||||||
m_InventoryService.CreateUserInventory(userProf.ID);
|
m_InventoryService.CreateUserInventory(userProf.ID);
|
||||||
|
InventoryFolderBase rootfolder = m_InventoryService.RequestRootFolder(userProf.ID);
|
||||||
|
if (rootfolder != null)
|
||||||
|
userProf.RootInventoryFolderID = rootfolder.ID;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue