Implement the FetchInventory2 capability. This accompanies the existing FetchInventoryDescendents2 capability.

Not yet enabled by default.  You can enable this by setting Cap_FetchInventory2 = "localhost" in the [ClientStack.LindenCaps] section of OpenSim.ini
Enabling both FetchInventory2 and FetchInventoryDescendents2 improves the situation with properly fetching attachments and hud objects
Probably because viewers are never expecting the odd situation where FetchInventoryDescendents2 is present but not FetchInventory2
However, for some reason attachments and hud objects occasionally fail to appear, though their status is correct in inventory
For attachments, focussing on the avatar makes them appear.  Hud objects have to be reattached.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-01-06 20:20:11 +00:00
parent f8c15d38a6
commit 7661a0b2a9
5 changed files with 378 additions and 2 deletions

View File

@@ -245,7 +245,7 @@ namespace OpenSim.Capabilities.Handlers
// containingFolder.Name, containingFolder.ID, agentID);
version = containingFolder.Version;
//
// if (fetchItems)
// {
// List<InventoryItemBase> linkedItemsToAdd = new List<InventoryItemBase>();