diff options
author | Justin Clarke Casey | 2008-06-29 19:53:33 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-06-29 19:53:33 +0000 |
commit | f8d9ccc70ec894e4cecfe24f35067ccc80ecfe50 (patch) | |
tree | f6dfc8cbe583b590924cbd628873379a9cc55035 /OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | |
parent | Add minor comments. (diff) | |
download | opensim-SC_OLD-f8d9ccc70ec894e4cecfe24f35067ccc80ecfe50.zip opensim-SC_OLD-f8d9ccc70ec894e4cecfe24f35067ccc80ecfe50.tar.gz opensim-SC_OLD-f8d9ccc70ec894e4cecfe24f35067ccc80ecfe50.tar.bz2 opensim-SC_OLD-f8d9ccc70ec894e4cecfe24f35067ccc80ecfe50.tar.xz |
* Save terrain information in archive
* Not yet reloading
* Terrain saving will be optional a little further down the line
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs index bed30b0..cc60cff 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveWriteRequestPreparation.cs | |||
@@ -29,6 +29,7 @@ using OpenSim.Framework; | |||
29 | using OpenSim.Framework.Communications.Cache; | 29 | using OpenSim.Framework.Communications.Cache; |
30 | using OpenSim.Region.Environment.Interfaces; | 30 | using OpenSim.Region.Environment.Interfaces; |
31 | using OpenSim.Region.Environment.Modules.World.Serialiser; | 31 | using OpenSim.Region.Environment.Modules.World.Serialiser; |
32 | using OpenSim.Region.Environment.Modules.World.Terrain; | ||
32 | using OpenSim.Region.Environment.Scenes; | 33 | using OpenSim.Region.Environment.Scenes; |
33 | using System.Collections.Generic; | 34 | using System.Collections.Generic; |
34 | using System.Reflection; | 35 | using System.Reflection; |
@@ -187,7 +188,11 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
187 | // Asynchronously request all the assets required to perform this archive operation | 188 | // Asynchronously request all the assets required to perform this archive operation |
188 | ArchiveWriteRequestExecution awre | 189 | ArchiveWriteRequestExecution awre |
189 | = new ArchiveWriteRequestExecution( | 190 | = new ArchiveWriteRequestExecution( |
190 | sceneObjects, m_scene.RequestModuleInterface<IRegionSerialiser>(), m_savePath); | 191 | sceneObjects, |
192 | m_scene.RequestModuleInterface<ITerrainModule>(), | ||
193 | m_scene.RequestModuleInterface<IRegionSerialiser>(), | ||
194 | m_scene.RegionInfo.RegionName, | ||
195 | m_savePath); | ||
191 | new AssetsRequest(assetUuids.Keys, m_scene.AssetCache, awre.ReceivedAllAssets).Execute(); | 196 | new AssetsRequest(assetUuids.Keys, m_scene.AssetCache, awre.ReceivedAllAssets).Execute(); |
192 | } | 197 | } |
193 | } | 198 | } |