aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs
index 8cf039d..5208e7a 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs
@@ -35,6 +35,7 @@ using log4net;
35using OpenMetaverse; 35using OpenMetaverse;
36using OpenSim.Framework; 36using OpenSim.Framework;
37using OpenSim.Framework.Serialization; 37using OpenSim.Framework.Serialization;
38using OpenSim.Services.Interfaces;
38 39
39namespace OpenSim.Region.CoreModules.World.Archiver 40namespace OpenSim.Region.CoreModules.World.Archiver
40{ 41{
@@ -60,9 +61,9 @@ namespace OpenSim.Region.CoreModules.World.Archiver
60 /// <summary> 61 /// <summary>
61 /// Cache to which dearchived assets will be added 62 /// Cache to which dearchived assets will be added
62 /// </summary> 63 /// </summary>
63 protected IAssetCache m_cache; 64 protected IAssetService m_cache;
64 65
65 public AssetsDearchiver(IAssetCache cache) 66 public AssetsDearchiver(IAssetService cache)
66 { 67 {
67 m_cache = cache; 68 m_cache = cache;
68 } 69 }
@@ -162,7 +163,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
162 asset.Type = metadata.AssetType; 163 asset.Type = metadata.AssetType;
163 asset.Data = data; 164 asset.Data = data;
164 165
165 m_cache.AddAsset(asset); 166 m_cache.Store(asset);
166 } 167 }
167 else 168 else
168 { 169 {