aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorMelanie2013-02-27 18:19:38 +0100
committerMelanie2013-02-27 18:19:38 +0100
commit698363990b1acc8d700fca3a9c9f834cd35dd486 (patch)
tree1c55c555779925e52f8d83fe059c0f69ecf60ad8 /OpenSim/Region/CoreModules
parentRemove osParseJSONNew because it's "object" return type is not useful for LSL (diff)
downloadopensim-SC-698363990b1acc8d700fca3a9c9f834cd35dd486.zip
opensim-SC-698363990b1acc8d700fca3a9c9f834cd35dd486.tar.gz
opensim-SC-698363990b1acc8d700fca3a9c9f834cd35dd486.tar.bz2
opensim-SC-698363990b1acc8d700fca3a9c9f834cd35dd486.tar.xz
Try to update inventory items when there is a valid asset - may fix temp textures
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs
index 43b8b44..d94ac05 100644
--- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs
+++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs
@@ -391,6 +391,11 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
391// m_asset.FullID, item.Name, ourClient.Name); 391// m_asset.FullID, item.Name, ourClient.Name);
392 392
393 m_Scene.AssetService.Store(m_asset); 393 m_Scene.AssetService.Store(m_asset);
394 if (m_asset.FullID != UUID.Zero)
395 {
396 item.AssetID = m_asset.FullID;
397 m_Scene.InventoryService.UpdateItem(item);
398 }
394 399
395 m_transactions.RemoveXferUploader(m_transactionID); 400 m_transactions.RemoveXferUploader(m_transactionID);
396 } 401 }