Simian:
* Added more profile fields to Agent * Removed inventory hack from AccountManager * Create an inventory skeleton in AuthFreeForAll * Simplify logout process with DisconnectClient() * Handle FetchInventory * Added CreateFolder and CreateRootFolder to IInventoryProvider git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2251 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -53,26 +53,6 @@ namespace Simian.Extensions
|
||||
PrimFlags.ObjectAnyOwner | PrimFlags.ObjectMove | PrimFlags.InventoryEmpty |
|
||||
PrimFlags.ObjectTransfer | PrimFlags.ObjectOwnerModify | PrimFlags.ObjectYouOwner;
|
||||
|
||||
// HACK: FIXME: These should point to actual inventories, not random UUIDs
|
||||
|
||||
// Agent inventory
|
||||
InventoryFolder rootFolder = new InventoryFolder();
|
||||
rootFolder.ID = agent.InventoryRoot;
|
||||
rootFolder.Name = "Inventory";
|
||||
rootFolder.OwnerID = agent.AgentID;
|
||||
rootFolder.PreferredType = AssetType.RootFolder;
|
||||
rootFolder.Version = 1;
|
||||
agent.Inventory[rootFolder.ID] = rootFolder;
|
||||
|
||||
// Default library
|
||||
InventoryFolder libRootFolder = new InventoryFolder();
|
||||
libRootFolder.ID = agent.InventoryLibraryRoot;
|
||||
libRootFolder.Name = "Library";
|
||||
libRootFolder.OwnerID = agent.AgentID;
|
||||
libRootFolder.PreferredType = AssetType.RootFolder;
|
||||
libRootFolder.Version = 1;
|
||||
agent.Library[libRootFolder.ID] = libRootFolder;
|
||||
|
||||
return agent;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user