diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs index 5e772e6..c598748 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs | |||
@@ -31,6 +31,7 @@ using System.Reflection; | |||
31 | using log4net; | 31 | using log4net; |
32 | using OpenMetaverse; | 32 | using OpenMetaverse; |
33 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
34 | using OpenSim.Region.Framework.Interfaces; | ||
34 | using OpenSim.Region.Framework.Scenes; | 35 | using OpenSim.Region.Framework.Scenes; |
35 | using OpenSim.Services.Interfaces; | 36 | using OpenSim.Services.Interfaces; |
36 | using PermissionMask = OpenSim.Framework.PermissionMask; | 37 | using PermissionMask = OpenSim.Framework.PermissionMask; |
@@ -376,6 +377,8 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
376 | m_Scene.AssetService.Store(m_asset); | 377 | m_Scene.AssetService.Store(m_asset); |
377 | 378 | ||
378 | m_transactions.RemoveXferUploader(m_transactionID); | 379 | m_transactions.RemoveXferUploader(m_transactionID); |
380 | |||
381 | m_Scene.EventManager.TriggerOnNewInventoryItemUploadComplete(ourClient.AgentId, (AssetType)type, m_asset.FullID, m_asset.Name, 0); | ||
379 | } | 382 | } |
380 | 383 | ||
381 | /// <summary> | 384 | /// <summary> |
@@ -421,6 +424,9 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction | |||
421 | ourClient.SendAlertMessage("Unable to create inventory item"); | 424 | ourClient.SendAlertMessage("Unable to create inventory item"); |
422 | 425 | ||
423 | m_transactions.RemoveXferUploader(m_transactionID); | 426 | m_transactions.RemoveXferUploader(m_transactionID); |
427 | |||
428 | m_Scene.EventManager.TriggerOnNewInventoryItemUploadComplete(ourClient.AgentId, (AssetType)type, m_asset.FullID, m_asset.Name, 0); | ||
424 | } | 429 | } |
430 | |||
425 | } | 431 | } |
426 | } \ No newline at end of file | 432 | } \ No newline at end of file |