diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index c416e88..589307a 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -1619,8 +1619,11 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1619 | } | 1619 | } |
1620 | 1620 | ||
1621 | IRegionArchiverModule archiver = scene.RequestModuleInterface<IRegionArchiverModule>(); | 1621 | IRegionArchiverModule archiver = scene.RequestModuleInterface<IRegionArchiverModule>(); |
1622 | Dictionary<string, object> archiveOptions = new Dictionary<string, object>(); | ||
1623 | if (mergeOar) archiveOptions.Add("merge", null); | ||
1624 | if (skipAssets) archiveOptions.Add("skipAssets", null); | ||
1622 | if (archiver != null) | 1625 | if (archiver != null) |
1623 | archiver.DearchiveRegion(filename, mergeOar, skipAssets, Guid.Empty); | 1626 | archiver.DearchiveRegion(filename, Guid.Empty, archiveOptions); |
1624 | else | 1627 | else |
1625 | throw new Exception("Archiver module not present for scene"); | 1628 | throw new Exception("Archiver module not present for scene"); |
1626 | 1629 | ||