diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index ab18c93..0384224 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -984,7 +984,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
984 | 984 | ||
985 | private InventoryItemBase CreateAgentInventoryItemFromTask(UUID destAgent, SceneObjectPart part, UUID itemId) | 985 | private InventoryItemBase CreateAgentInventoryItemFromTask(UUID destAgent, SceneObjectPart part, UUID itemId) |
986 | { | 986 | { |
987 | Console.WriteLine("CreateAgentInventoryItemFromTask"); | ||
988 | TaskInventoryItem taskItem = part.Inventory.GetInventoryItem(itemId); | 987 | TaskInventoryItem taskItem = part.Inventory.GetInventoryItem(itemId); |
989 | 988 | ||
990 | if (null == taskItem) | 989 | if (null == taskItem) |
@@ -1055,7 +1054,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1055 | /// <param name="itemID"></param> | 1054 | /// <param name="itemID"></param> |
1056 | public InventoryItemBase MoveTaskInventoryItem(IClientAPI remoteClient, UUID folderId, SceneObjectPart part, UUID itemId) | 1055 | public InventoryItemBase MoveTaskInventoryItem(IClientAPI remoteClient, UUID folderId, SceneObjectPart part, UUID itemId) |
1057 | { | 1056 | { |
1058 | m_log.Info("Adding task inventory"); | 1057 | m_log.DebugFormat( |
1058 | "[PRIM INVENTORY]: Adding item {0} from {1} to folder {2} for {3}", | ||
1059 | itemId, part.Name, folderId, remoteClient.Name); | ||
1060 | |||
1059 | InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(remoteClient.AgentId, part, itemId); | 1061 | InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(remoteClient.AgentId, part, itemId); |
1060 | 1062 | ||
1061 | if (agentItem == null) | 1063 | if (agentItem == null) |
@@ -1121,7 +1123,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
1121 | /// <see>MoveTaskInventoryItem</see> | 1123 | /// <see>MoveTaskInventoryItem</see> |
1122 | /// </summary> | 1124 | /// </summary> |
1123 | /// <param name="remoteClient"></param> | 1125 | /// <param name="remoteClient"></param> |
1124 | /// <param name="folderID"></param> | 1126 | /// <param name="folderID"> |
1127 | /// The user inventory folder to move (or copy) the item to. If null, then the most | ||
1128 | /// suitable system folder is used (e.g. the Objects folder for objects). If there is no suitable folder, then | ||
1129 | /// the item is placed in the user's root inventory folder | ||
1130 | /// </param> | ||
1125 | /// <param name="part"></param> | 1131 | /// <param name="part"></param> |
1126 | /// <param name="itemID"></param> | 1132 | /// <param name="itemID"></param> |
1127 | public InventoryItemBase MoveTaskInventoryItem(UUID avatarId, UUID folderId, SceneObjectPart part, UUID itemId) | 1133 | public InventoryItemBase MoveTaskInventoryItem(UUID avatarId, UUID folderId, SceneObjectPart part, UUID itemId) |