aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/LLSDInventoryItem.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-01-06 20:20:11 +0000
committerJustin Clark-Casey (justincc)2012-01-06 21:07:34 +0000
commit7661a0b2a913a7637cb8ba8310be370594901485 (patch)
treef1698bb15eef27766fe35c8dafba1092511eb17d /OpenSim/Capabilities/LLSDInventoryItem.cs
parentIf dragging a script that is no copy from prim inventory into agent (diff)
downloadopensim-SC-7661a0b2a913a7637cb8ba8310be370594901485.zip
opensim-SC-7661a0b2a913a7637cb8ba8310be370594901485.tar.gz
opensim-SC-7661a0b2a913a7637cb8ba8310be370594901485.tar.bz2
opensim-SC-7661a0b2a913a7637cb8ba8310be370594901485.tar.xz
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.
Diffstat (limited to '')
-rw-r--r--OpenSim/Capabilities/LLSDInventoryItem.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/LLSDInventoryItem.cs b/OpenSim/Capabilities/LLSDInventoryItem.cs
index cce18d7..426a6cb 100644
--- a/OpenSim/Capabilities/LLSDInventoryItem.cs
+++ b/OpenSim/Capabilities/LLSDInventoryItem.cs
@@ -95,4 +95,11 @@ namespace OpenSim.Framework.Capabilities
95 public UUID owner_id; 95 public UUID owner_id;
96 public int version; 96 public int version;
97 } 97 }
98} 98
99 [OSDMap]
100 public class LLSDFetchInventory
101 {
102 public UUID agent_id;
103 public OSDArray items = new OSDArray();
104 }
105} \ No newline at end of file