From 272fbef65fc75ab6a8a4ed512052124b706ebf1a Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 2 Apr 2008 17:34:53 +0000 Subject: Minor: just some method comments --- .../Region/Environment/Scenes/SceneObjectPart.Inventory.cs | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs index 56894b7..a73bb76 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs @@ -286,12 +286,16 @@ namespace OpenSim.Region.Environment.Scenes { if (m_taskInventory.ContainsKey(itemID)) { +// m_log.DebugFormat( +// "[PRIM INVENTORY]: Retrieved task inventory item {0}, {1} from prim {2}, {3}", +// m_taskInventory[itemID].Name, itemID, Name, UUID); + return m_taskInventory[itemID]; } else { m_log.ErrorFormat( - "[PRIMINVENTORY]: " + + "[PRIM INVENTORY]: " + "Tried to retrieve item ID {0} from prim {1}, {2} but the item does not exist in this inventory", itemID, Name, UUID); } @@ -390,7 +394,7 @@ namespace OpenSim.Region.Environment.Scenes } /// - /// + /// Return the name with which a client can request a xfer of this prim's inventory metadata /// /// /// @@ -409,6 +413,10 @@ namespace OpenSim.Region.Environment.Scenes } } + /// + /// Serialize all the metadata for the items in this prim's inventory ready for sending to the client + /// + /// public void RequestInventoryFile(IXfer xferManager) { byte[] fileData = new byte[0]; -- cgit v1.1