diff options
author | Oren Hurvitz | 2012-07-24 19:48:08 +0300 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-09-14 20:25:03 +0100 |
commit | ce468215d576cc301a261d85bee9baa68a246ce6 (patch) | |
tree | ad2c6d7e3156bf8dab596f2772cc712d4f96c698 /OpenSim/ApplicationPlugins | |
parent | Don't store the unnecessary VERSIONMIN. VERSIONMAX, METHOD or UserID (present... (diff) | |
download | opensim-SC_OLD-ce468215d576cc301a261d85bee9baa68a246ce6.zip opensim-SC_OLD-ce468215d576cc301a261d85bee9baa68a246ce6.tar.gz opensim-SC_OLD-ce468215d576cc301a261d85bee9baa68a246ce6.tar.bz2 opensim-SC_OLD-ce468215d576cc301a261d85bee9baa68a246ce6.tar.xz |
Support multi-region OAR files
Merged ArchiveWriteRequestPreparation.cs and ArchiveWriteRequestExecution.cs. This simplifies the code, and it's faster to write each scene to the archive as it's found rather than all at once at the end.
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs index 24570d6..a5e56f9 100644 --- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs +++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs | |||
@@ -1369,6 +1369,8 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1369 | /// <description>profile url</description></item> | 1369 | /// <description>profile url</description></item> |
1370 | /// <item><term>noassets</term> | 1370 | /// <item><term>noassets</term> |
1371 | /// <description>true if no assets should be saved</description></item> | 1371 | /// <description>true if no assets should be saved</description></item> |
1372 | /// <item><term>all</term> | ||
1373 | /// <description>true to save all the regions in the simulator</description></item> | ||
1372 | /// <item><term>perm</term> | 1374 | /// <item><term>perm</term> |
1373 | /// <description>C and/or T</description></item> | 1375 | /// <description>C and/or T</description></item> |
1374 | /// </list> | 1376 | /// </list> |
@@ -1425,6 +1427,11 @@ namespace OpenSim.ApplicationPlugins.RemoteController | |||
1425 | options["checkPermissions"] = (string)requestData["perm"]; | 1427 | options["checkPermissions"] = (string)requestData["perm"]; |
1426 | } | 1428 | } |
1427 | 1429 | ||
1430 | if ((string)requestData["all"] == "true") | ||
1431 | { | ||
1432 | options["all"] = (string)requestData["all"]; | ||
1433 | } | ||
1434 | |||
1428 | IRegionArchiverModule archiver = scene.RequestModuleInterface<IRegionArchiverModule>(); | 1435 | IRegionArchiverModule archiver = scene.RequestModuleInterface<IRegionArchiverModule>(); |
1429 | 1436 | ||
1430 | if (archiver != null) | 1437 | if (archiver != null) |