From 252b48fb3e0905e6b21648e818aebd091e8532a8 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 21 Aug 2007 13:21:03 +0000 Subject: Can now turn on/off server side permission checking (on prim editing etc) from the opensim.ini file. Just add a line to the Startup section like : serverside_object_permissions = true Changes /editing that are made to clothing/ body parts in your inventory should now be saved between logins/ restarts. --- .../Communications/Cache/AssetTransactions.cs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'OpenSim/Framework/Communications/Cache/AssetTransactions.cs') diff --git a/OpenSim/Framework/Communications/Cache/AssetTransactions.cs b/OpenSim/Framework/Communications/Cache/AssetTransactions.cs index addd20a..4cde5f6 100644 --- a/OpenSim/Framework/Communications/Cache/AssetTransactions.cs +++ b/OpenSim/Framework/Communications/Cache/AssetTransactions.cs @@ -103,6 +103,15 @@ namespace OpenSim.Framework.Communications.Caches } } + public AssetBase GetTransactionAsset(LLUUID transactionID) + { + if (this.XferUploaders.ContainsKey(transactionID)) + { + return XferUploaders[transactionID].GetAssetData(); + } + return null; + } + // Nested Types public class AssetCapsUploader { @@ -298,6 +307,7 @@ namespace OpenSim.Framework.Communications.Caches private void DoCreateItem() { + //really need to fix this call, if lbsa71 saw this he would die. this.m_userTransactions.Manager.CommsManager.AssetCache.AddAsset(this.Asset); CachedUserInfo userInfo = m_userTransactions.Manager.CommsManager.UserProfiles.GetUserDetails(ourClient.AgentId); if (userInfo != null) @@ -324,6 +334,15 @@ namespace OpenSim.Framework.Communications.Caches { } + + public AssetBase GetAssetData() + { + if (m_finished) + { + return this.Asset; + } + return null; + } } public class NoteCardCapsUpdate -- cgit v1.1