From 74e5fe5aa94aa338c0e574553ccabd42a93b0bbd Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Mon, 23 Aug 2010 22:24:23 +0100
Subject: Remove various warnings and improve logging messages. No functional
changes.
---
OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Region/Framework/Scenes')
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 4d84018..4e0ddcb 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -945,7 +945,6 @@ namespace OpenSim.Region.Framework.Scenes
private InventoryItemBase CreateAgentInventoryItemFromTask(UUID destAgent, SceneObjectPart part, UUID itemId)
{
- Console.WriteLine("CreateAgentInventoryItemFromTask");
TaskInventoryItem taskItem = part.Inventory.GetInventoryItem(itemId);
if (null == taskItem)
@@ -1016,7 +1015,10 @@ namespace OpenSim.Region.Framework.Scenes
///
public InventoryItemBase MoveTaskInventoryItem(IClientAPI remoteClient, UUID folderId, SceneObjectPart part, UUID itemId)
{
- m_log.Info("Adding task inventory");
+ m_log.DebugFormat(
+ "[PRIM INVENTORY]: Adding item {0} from {1} to folder {2} for {3}",
+ itemId, part.Name, folderId, remoteClient.Name);
+
InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(remoteClient.AgentId, part, itemId);
if (agentItem == null)
--
cgit v1.1
From 1d01c910951c09aa348e4fb407226fb3fcf35288 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Mon, 23 Aug 2010 23:21:44 +0100
Subject: minor: some doc for the MoveTaskInventoryItem method in
Scene.Inventory.cs
---
OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'OpenSim/Region/Framework/Scenes')
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 4e0ddcb..241e100 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1084,7 +1084,11 @@ namespace OpenSim.Region.Framework.Scenes
/// MoveTaskInventoryItem
///
///
- ///
+ ///
+ /// The user inventory folder to move (or copy) the item to. If null, then the most
+ /// suitable system folder is used (e.g. the Objects folder for objects). If there is no suitable folder, then
+ /// the item is placed in the user's root inventory folder
+ ///
///
///
public InventoryItemBase MoveTaskInventoryItem(UUID avatarId, UUID folderId, SceneObjectPart part, UUID itemId)
--
cgit v1.1