Try to update inventory items when there is a valid asset - may fix temp textures

avinationmerge
Melanie 2013-02-27 18:19:38 +01:00
parent d7c742a5f9
commit 698363990b
1 changed files with 5 additions and 0 deletions

View File

@ -391,6 +391,11 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
// m_asset.FullID, item.Name, ourClient.Name);
m_Scene.AssetService.Store(m_asset);
if (m_asset.FullID != UUID.Zero)
{
item.AssetID = m_asset.FullID;
m_Scene.InventoryService.UpdateItem(item);
}
m_transactions.RemoveXferUploader(m_transactionID);
}