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
---
OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 2 +-
.../Region/Environment/Scenes/SceneObjectPart.Inventory.cs | 12 ++++++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/Environment/Scenes')
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 1001fce..ca17937 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 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