This small patch means that the inventoryserver for grid mode now

retrieves items in the agent's root inventory folder.

From Justin Casey (IBM)
afrisby
Sean Dague 2007-12-07 15:59:26 +00:00
parent cbc8a27b34
commit 7f4d033490
1 changed files with 3 additions and 6 deletions

View File

@ -24,13 +24,10 @@ namespace OpenSim.Grid.InventoryServer
{
foreach (InventoryFolderBase folder in folders)
{
if (folder.parentID != LLUUID.Zero)
List<InventoryItemBase> items = RequestFolderItems(folder.folderID);
if (items != null)
{
List<InventoryItemBase> items = RequestFolderItems(folder.folderID);
if (items != null)
{
allItems.InsertRange(0, items);
}
allItems.InsertRange(0, items);
}
}
}