From 7f4d033490a28ad46a7b6cef317c9158fff80f5e Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 7 Dec 2007 15:59:26 +0000 Subject: This small patch means that the inventoryserver for grid mode now retrieves items in the agent's root inventory folder. From Justin Casey (IBM) --- OpenSim/Grid/InventoryServer/GridInventoryService.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'OpenSim/Grid/InventoryServer') 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 { foreach (InventoryFolderBase folder in folders) { - if (folder.parentID != LLUUID.Zero) + List items = RequestFolderItems(folder.folderID); + if (items != null) { - List items = RequestFolderItems(folder.folderID); - if (items != null) - { - allItems.InsertRange(0, items); - } + allItems.InsertRange(0, items); } } } -- cgit v1.1