New Inventory folder should now be stored to the inventory server/database. This also seems to fix the problem of Body parts not being persisted properly.
parent
0a2425432a
commit
b92df4aaaf
|
@ -96,7 +96,14 @@ namespace OpenSim.Framework.Communications.Cache
|
|||
|
||||
if (createdFolder != null)
|
||||
{
|
||||
m_parent.InventoryService.AddNewInventoryFolder(remoteClient.AgentId, createdFolder);
|
||||
InventoryFolderBase createdBaseFolder = new InventoryFolderBase();
|
||||
createdBaseFolder.agentID = createdFolder.agentID;
|
||||
createdBaseFolder.folderID = createdFolder.folderID;
|
||||
createdBaseFolder.name = createdFolder.name;
|
||||
createdBaseFolder.parentID = createdFolder.parentID;
|
||||
createdBaseFolder.type = createdFolder.type;
|
||||
createdBaseFolder.version = createdFolder.version;
|
||||
m_parent.InventoryService.AddNewInventoryFolder(remoteClient.AgentId, createdBaseFolder);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
@ -81,6 +81,7 @@ namespace OpenSim.Grid.InventoryServer
|
|||
|
||||
public bool AddInventoryFolder( InventoryFolderBase folder)
|
||||
{
|
||||
Console.WriteLine("creating new folder for " + folder.agentID.ToString());
|
||||
AddNewInventoryFolder(folder.agentID, folder);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue