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 )

avinationmerge
UbitUmarov 2015-09-12 02:05:52 +01:00
parent 410ae96d04
commit 8621abf2b7
1 changed files with 3 additions and 1 deletions

View File

@ -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");