diff options
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 2fc3791..f65f834 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -448,6 +448,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
448 | // Retrieve the item from the sender | 448 | // Retrieve the item from the sender |
449 | CachedUserInfo senderUserInfo = CommsManager.UserProfileCacheService.GetUserDetails(senderId); | 449 | CachedUserInfo senderUserInfo = CommsManager.UserProfileCacheService.GetUserDetails(senderId); |
450 | 450 | ||
451 | Console.WriteLine("Scene.Inventory.cs: GiveInventoryItem"); | ||
452 | |||
451 | if (senderUserInfo == null) | 453 | if (senderUserInfo == null) |
452 | { | 454 | { |
453 | m_log.ErrorFormat( | 455 | m_log.ErrorFormat( |
@@ -1064,6 +1066,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1064 | 1066 | ||
1065 | private InventoryItemBase CreateAgentInventoryItemFromTask(UUID destAgent, SceneObjectPart part, UUID itemId) | 1067 | private InventoryItemBase CreateAgentInventoryItemFromTask(UUID destAgent, SceneObjectPart part, UUID itemId) |
1066 | { | 1068 | { |
1069 | Console.WriteLine("CreateAgentInventoryItemFromTask"); | ||
1067 | TaskInventoryItem taskItem = part.Inventory.GetInventoryItem(itemId); | 1070 | TaskInventoryItem taskItem = part.Inventory.GetInventoryItem(itemId); |
1068 | 1071 | ||
1069 | if (null == taskItem) | 1072 | if (null == taskItem) |
@@ -1133,6 +1136,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1133 | /// <param name="itemID"></param> | 1136 | /// <param name="itemID"></param> |
1134 | public InventoryItemBase MoveTaskInventoryItem(IClientAPI remoteClient, UUID folderId, SceneObjectPart part, UUID itemId) | 1137 | public InventoryItemBase MoveTaskInventoryItem(IClientAPI remoteClient, UUID folderId, SceneObjectPart part, UUID itemId) |
1135 | { | 1138 | { |
1139 | m_log.Info("Adding task inventory"); | ||
1136 | InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(remoteClient.AgentId, part, itemId); | 1140 | InventoryItemBase agentItem = CreateAgentInventoryItemFromTask(remoteClient.AgentId, part, itemId); |
1137 | 1141 | ||
1138 | if (agentItem == null) | 1142 | if (agentItem == null) |