diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs index 0f179f4..0e37197 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -32,6 +32,7 @@ using OpenSim.Region.Environment.Modules.World.Terrain; | |||
32 | using System; | 32 | using System; |
33 | using System.Collections.Generic; | 33 | using System.Collections.Generic; |
34 | using System.IO; | 34 | using System.IO; |
35 | using System.IO.Compression; | ||
35 | using System.Reflection; | 36 | using System.Reflection; |
36 | using System.Xml; | 37 | using System.Xml; |
37 | using libsecondlife; | 38 | using libsecondlife; |
@@ -60,8 +61,10 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
60 | } | 61 | } |
61 | 62 | ||
62 | protected void DearchiveRegion() | 63 | protected void DearchiveRegion() |
63 | { | 64 | { |
64 | TarArchiveReader archive = new TarArchiveReader(m_loadPath); | 65 | TarArchiveReader archive |
66 | = new TarArchiveReader( | ||
67 | new GZipStream(new FileStream(m_loadPath, FileMode.Open), CompressionMode.Decompress)); | ||
65 | //AssetsDearchiver dearchiver = new AssetsDearchiver(m_scene.AssetCache); | 68 | //AssetsDearchiver dearchiver = new AssetsDearchiver(m_scene.AssetCache); |
66 | 69 | ||
67 | List<string> serialisedSceneObjects = new List<string>(); | 70 | List<string> serialisedSceneObjects = new List<string>(); |