From 8621abf2b7dd124df053c93ac9c02a954393d330 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 12 Sep 2015 02:05:52 +0100 Subject: send a reply on UpdateInventoryItem with the transactionID viewer sent. Protocol seems to have also a callbackID on this, apparently ignored by viewers ( as possible the transactionID ) --- .../Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/CoreModules/Agent') diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs index fabb409..c14e89f 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs @@ -415,6 +415,8 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction m_Scene.InventoryService.UpdateItem(item); } + ourClient.SendInventoryItemCreateUpdate(item, m_transactionID, 0); + m_transactions.RemoveXferUploader(m_transactionID); m_Scene.EventManager.TriggerOnNewInventoryItemUploadComplete(ourClient.AgentId, (AssetType)type, m_asset.FullID, m_asset.Name, 0); @@ -463,7 +465,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction item.ID, item.AssetID); if (m_Scene.AddInventoryItem(item)) - ourClient.SendInventoryItemCreateUpdate(item, callbackID); + ourClient.SendInventoryItemCreateUpdate(item, m_transactionID, callbackID); else ourClient.SendAlertMessage("Unable to create inventory item"); -- cgit v1.1