diff options
author | Sean Dague | 2007-12-07 15:59:26 +0000 |
---|---|---|
committer | Sean Dague | 2007-12-07 15:59:26 +0000 |
commit | 7f4d033490a28ad46a7b6cef317c9158fff80f5e (patch) | |
tree | 8d8dac2341310330f7c8cbde71c47152a63e0b2e /OpenSim | |
parent | * Added class sAgentCircuitData and unmarked AgentCircuitData as Serializable. (diff) | |
download | opensim-SC_OLD-7f4d033490a28ad46a7b6cef317c9158fff80f5e.zip opensim-SC_OLD-7f4d033490a28ad46a7b6cef317c9158fff80f5e.tar.gz opensim-SC_OLD-7f4d033490a28ad46a7b6cef317c9158fff80f5e.tar.bz2 opensim-SC_OLD-7f4d033490a28ad46a7b6cef317c9158fff80f5e.tar.xz |
This small patch means that the inventoryserver for grid mode now
retrieves items in the agent's root inventory folder.
From Justin Casey (IBM)
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Grid/InventoryServer/GridInventoryService.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index 47e4e9a..cb970ae 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs | |||
@@ -24,13 +24,10 @@ namespace OpenSim.Grid.InventoryServer | |||
24 | { | 24 | { |
25 | foreach (InventoryFolderBase folder in folders) | 25 | foreach (InventoryFolderBase folder in folders) |
26 | { | 26 | { |
27 | if (folder.parentID != LLUUID.Zero) | 27 | List<InventoryItemBase> items = RequestFolderItems(folder.folderID); |
28 | if (items != null) | ||
28 | { | 29 | { |
29 | List<InventoryItemBase> items = RequestFolderItems(folder.folderID); | 30 | allItems.InsertRange(0, items); |
30 | if (items != null) | ||
31 | { | ||
32 | allItems.InsertRange(0, items); | ||
33 | } | ||
34 | } | 31 | } |
35 | } | 32 | } |
36 | } | 33 | } |