From d344ca932df5ca75f4739c693627bb1a24d9bbdf Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 6 Oct 2009 22:19:20 -0700 Subject: A small change in FetchInventoryDescendantsCAPS. --- OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs index f6d8eac..4ae4dc3 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.PacketHandlers.cs @@ -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; -- cgit v1.1