aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneManager.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneManager.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneManager.cs b/OpenSim/Region/Environment/Scenes/SceneManager.cs
index bb74c20..6072b70 100644
--- a/OpenSim/Region/Environment/Scenes/SceneManager.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneManager.cs
@@ -227,7 +227,9 @@ namespace OpenSim.Region.Environment.Scenes
227 /// <param name="filename"></param> 227 /// <param name="filename"></param>
228 public void SaveCurrentSceneToArchive(string filename) 228 public void SaveCurrentSceneToArchive(string filename)
229 { 229 {
230 CurrentOrFirstScene.SavePrimsToArchive(filename); 230 IRegionArchiverModule archiver = CurrentOrFirstScene.RequestModuleInterface<IRegionArchiverModule>();
231 if (archiver != null)
232 archiver.ArchiveRegion(filename);
231 } 233 }
232 234
233 /// <summary> 235 /// <summary>
@@ -237,7 +239,9 @@ namespace OpenSim.Region.Environment.Scenes
237 /// <param name="filename"></param> 239 /// <param name="filename"></param>
238 public void LoadArchiveToCurrentScene(string filename) 240 public void LoadArchiveToCurrentScene(string filename)
239 { 241 {
240 CurrentOrFirstScene.LoadPrimsFromArchive(filename); 242 IRegionArchiverModule archiver = CurrentOrFirstScene.RequestModuleInterface<IRegionArchiverModule>();
243 if (archiver != null)
244 archiver.DearchiveRegion(filename);
241 } 245 }
242 246
243 public string SaveCurrentSceneMapToXmlString() 247 public string SaveCurrentSceneMapToXmlString()