aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs
diff options
context:
space:
mode:
authorMW2007-08-16 16:57:30 +0000
committerMW2007-08-16 16:57:30 +0000
commit67873b8614e51fad759b3ba3de0dd0c2f9dba43f (patch)
treef3b1261aac15cb08c53dc69ecae205c35cb5137c /OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs
parentTaking Prims (SceneObjectGroups) in and out of inventory should now work and ... (diff)
downloadopensim-SC-67873b8614e51fad759b3ba3de0dd0c2f9dba43f.zip
opensim-SC-67873b8614e51fad759b3ba3de0dd0c2f9dba43f.tar.gz
opensim-SC-67873b8614e51fad759b3ba3de0dd0c2f9dba43f.tar.bz2
opensim-SC-67873b8614e51fad759b3ba3de0dd0c2f9dba43f.tar.xz
Deleted old inventoryCache.cs
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs b/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs
index a785eff..6a05ba2 100644
--- a/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs
+++ b/OpenSim/Region/ClientStack/ClientView.AgentAssetUpload.cs
@@ -29,7 +29,6 @@ using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using libsecondlife; 30using libsecondlife;
31using libsecondlife.Packets; 31using libsecondlife.Packets;
32using OpenSim.Assets;
33using OpenSim.Framework.Interfaces; 32using OpenSim.Framework.Interfaces;
34using OpenSim.Framework.Types; 33using OpenSim.Framework.Types;
35using OpenSim.Framework.Utilities; 34using OpenSim.Framework.Utilities;
@@ -45,13 +44,13 @@ namespace OpenSim.Region.ClientStack
45 private Dictionary<LLUUID, AssetTransaction> transactions = new Dictionary<LLUUID, AssetTransaction>(); 44 private Dictionary<LLUUID, AssetTransaction> transactions = new Dictionary<LLUUID, AssetTransaction>();
46 private ClientView ourClient; 45 private ClientView ourClient;
47 private AssetCache m_assetCache; 46 private AssetCache m_assetCache;
48 private InventoryCache m_inventoryCache; 47 // private InventoryCache m_inventoryCache;
49 48
50 public AgentAssetUpload(ClientView client, AssetCache assetCache, InventoryCache inventoryCache) 49 public AgentAssetUpload(ClientView client, AssetCache assetCache )
51 { 50 {
52 this.ourClient = client; 51 this.ourClient = client;
53 m_assetCache = assetCache; 52 m_assetCache = assetCache;
54 m_inventoryCache = inventoryCache; 53 // m_inventoryCache = inventoryCache;
55 } 54 }
56 55
57 public void AddUpload(LLUUID transactionID, AssetBase asset) 56 public void AddUpload(LLUUID transactionID, AssetBase asset)
@@ -187,7 +186,7 @@ namespace OpenSim.Region.ClientStack
187 if (trans.AddToInventory) 186 if (trans.AddToInventory)
188 { 187 {
189 // m_assetCache.AddAsset(trans.Asset); 188 // m_assetCache.AddAsset(trans.Asset);
190 m_inventoryCache.AddNewInventoryItem(this.ourClient, trans.InventFolder, trans.Asset); 189 //m_inventoryCache.AddNewInventoryItem(this.ourClient, trans.InventFolder, trans.Asset);
191 } 190 }
192 191
193 192
@@ -235,7 +234,7 @@ namespace OpenSim.Region.ClientStack
235 { 234 {
236 //already complete so we can add it to the inventory 235 //already complete so we can add it to the inventory
237 //m_assetCache.AddAsset(trans.Asset); 236 //m_assetCache.AddAsset(trans.Asset);
238 m_inventoryCache.AddNewInventoryItem(this.ourClient, packet.InventoryBlock.FolderID, trans.Asset); 237 // m_inventoryCache.AddNewInventoryItem(this.ourClient, packet.InventoryBlock.FolderID, trans.Asset);
239 } 238 }
240 else 239 else
241 { 240 {