diff options
author | UbitUmarov | 2015-08-24 17:05:16 +0100 |
---|---|---|
committer | UbitUmarov | 2015-08-24 17:05:16 +0100 |
commit | 3829df10595911de9ed1ce2f7b6cdd205828f8d0 (patch) | |
tree | d95d15c35695f6fa4dc4a6623294b307a7aee493 /OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |
parent | rename ImapTileModule as IMAPImageUploadModule to match core (diff) | |
download | opensim-SC-3829df10595911de9ed1ce2f7b6cdd205828f8d0.zip opensim-SC-3829df10595911de9ed1ce2f7b6cdd205828f8d0.tar.gz opensim-SC-3829df10595911de9ed1ce2f7b6cdd205828f8d0.tar.bz2 opensim-SC-3829df10595911de9ed1ce2f7b6cdd205828f8d0.tar.xz |
try to implement core load oar options
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')
-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 | ||