A small change in FetchInventoryDescendantsCAPS.

prioritization
Diva Canto 2009-10-06 22:19:20 -07:00
parent 8c255b374a
commit d344ca932d
1 changed files with 2 additions and 1 deletions

View File

@ -497,10 +497,11 @@ namespace OpenSim.Region.Framework.Scenes
return ret;
}
InventoryCollection contents = InventoryService.GetFolderContent(agentID, folderID);
InventoryCollection contents = new InventoryCollection();
if (folderID != UUID.Zero)
{
contents = InventoryService.GetFolderContent(agentID, folderID);
InventoryFolderBase containingFolder = new InventoryFolderBase();
containingFolder.ID = folderID;
containingFolder.Owner = agentID;