From 4c2171ec827aa426375ccecf4bd2d7e009719d74 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 16 Jun 2008 21:59:39 +0000 Subject: * Allow archiver to save and load objects within other objects to arbitrary levels * This currently has various bugs which are more to do with the way its been hacked together than the feature itself (e.g. on save-oar, ghost prims will appear of the saved contained items). These will be found and eliminated in subsequent patches. * Not yet ready for use --- .../Framework/Communications/Cache/AssetCache.cs | 23 ---------------------- 1 file changed, 23 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index dd9015b..a1d9c73 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs @@ -270,7 +270,6 @@ namespace OpenSim.Framework.Communications.Cache // m_log.DebugFormat("[ASSET CACHE]: Adding request for {0} {1}", isTexture ? "texture" : "asset", assetId); #endif - NewAssetRequest req = new NewAssetRequest(assetId, callback); AssetRequestsList requestList; @@ -291,28 +290,6 @@ namespace OpenSim.Framework.Communications.Cache m_assetServer.RequestAsset(assetId, isTexture); } } - - - /* Old code doesn't handle duplicate requests right - NewAssetRequest req = new NewAssetRequest(assetId, callback); - - // Make sure we always have a request list to which to add the asset - AssetRequestsList requestList; - lock (RequestLists) - { - // m_log.Info("AssetCache: Lock taken on requestLists (GetAsset)"); - if (!RequestLists.TryGetValue(assetId, out requestList)) - { - requestList = new AssetRequestsList(assetId); - RequestLists.Add(assetId, requestList); - } - } - // m_log.Info("AssetCache: Lock released on requestLists (GetAsset)"); - - requestList.Requests.Add(req); - - m_assetServer.RequestAsset(assetId, isTexture); - */ } } -- cgit v1.1