diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 1001fce827..ca17937b44 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -542,7 +542,7 @@ namespace OpenSim.Region.Environment.Scenes } /// - /// Request a prim (task) inventory + /// Send the details of a prim's inventory to the client. /// /// /// diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.Inventory.cs index 56894b7025..a73bb76c10 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];