diff options
author | Justin Clark-Casey (justincc) | 2010-08-23 22:24:23 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-08-23 22:24:23 +0100 |
commit | 74e5fe5aa94aa338c0e574553ccabd42a93b0bbd (patch) | |
tree | 1c27cc9733728cd613c7a2b84a3edd29a78823e7 /OpenSim/Region/Framework | |
parent | Correct a minor typo (diff) | |
download | opensim-SC_OLD-74e5fe5aa94aa338c0e574553ccabd42a93b0bbd.zip opensim-SC_OLD-74e5fe5aa94aa338c0e574553ccabd42a93b0bbd.tar.gz opensim-SC_OLD-74e5fe5aa94aa338c0e574553ccabd42a93b0bbd.tar.bz2 opensim-SC_OLD-74e5fe5aa94aa338c0e574553ccabd42a93b0bbd.tar.xz |
Remove various warnings and improve logging messages. No functional changes.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 6 |
1 files changed, 4 insertions, 2 deletions
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 | |||
945 | 945 | ||
946 | private InventoryItemBase CreateAgentInventoryItemFromTask(UUID destAgent, SceneObjectPart part, UUID itemId) | 946 | private InventoryItemBase CreateAgentInventoryItemFromTask(UUID destAgent, SceneObjectPart part, UUID itemId) |
947 | { | 947 | { |
948 | Console.WriteLine("CreateAgentInventoryItemFromTask"); | ||
949 | TaskInventoryItem taskItem = part.Inventory.GetInventoryItem(itemId); | 948 | TaskInventoryItem taskItem = part.Inventory.GetInventoryItem(itemId); |
950 | 949 | ||
951 | if (null == taskItem) | 950 | if (null == taskItem) |
@@ -1016,7 +1015,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1016 | /// <param name="itemID"></param> | 1015 | /// <param name="itemID"></param> |
1017 | public InventoryItemBase MoveTaskInventoryItem(IClientAPI remoteClient, UUID folderId, SceneObjectPart part, UUID itemId) | 1016 | public InventoryItemBase MoveTaskInventoryItem(IClientAPI remoteClient, UUID folderId, SceneObjectPart part, UUID itemId) |
1018 | { | 1017 | { |
1019 | m_log.Info("Adding task inventory"); | 1018 | m_log.DebugFormat( |
1019 | "[PRIM INVENTORY]: Adding item {0} from {1} to folder {2} for {3}", | ||
1020 | itemId, part.Name, folderId, remoteClient.Name); | ||
1021 | |||
1020 | InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(remoteClient.AgentId, part, itemId); | 1022 | InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(remoteClient.AgentId, part, itemId); |
1021 | 1023 | ||
1022 | if (agentItem == null) | 1024 | if (agentItem == null) |