aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.Inventory.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index 8fec13f..186e13e 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -1256,12 +1256,13 @@ namespace OpenSim.Region.Environment.Scenes
1256 } 1256 }
1257 } 1257 }
1258 else // Updating existing item with new perms etc 1258 else // Updating existing item with new perms etc
1259 { 1259 {
1260 TaskInventoryItem prevItem = part.GetInventoryItem(itemID); 1260 IAgentAssetTransactions agentTransactions = this.RequestModuleInterface<IAgentAssetTransactions>();
1261System.Console.WriteLine("Item asset {0}, request asset {1}", prevItem.AssetID.ToString(), itemInfo.AssetID.ToString()); 1261 if (agentTransactions != null)
1262 itemInfo.AssetID = prevItem.AssetID; 1262 {
1263 if (part.UpdateInventoryItem(itemInfo)) 1263 agentTransactions.HandleTaskItemUpdateFromTransaction(
1264 part.GetProperties(remoteClient); 1264 remoteClient, part, transactionID, currentItem);
1265 }
1265 } 1266 }
1266 } 1267 }
1267 else 1268 else