From d42de53ddaeae154f17bbc240bdfdf6a349ea860 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 29 Apr 2016 21:23:32 +0200 Subject: Allow default permissions from the viewer to be applied to uploaded objects. Make inventory items reflect coorect permissions immediately unstead of after relog --- OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs | 2 +- 1 file changed, 1 insertion(+), 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 64bcfa2..60a254e 100644 --- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs +++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs @@ -429,7 +429,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction m_transactions.RemoveXferUploader(m_transactionID); - m_Scene.EventManager.TriggerOnNewInventoryItemUploadComplete(ourClient.AgentId, (AssetType)type, m_asset.FullID, m_asset.Name, 0); + m_Scene.EventManager.TriggerOnNewInventoryItemUploadComplete(item, 0); } /// -- cgit v1.1