aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs
index a89fe1c..2b2da6f 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiverModule.cs
@@ -106,6 +106,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
106 bool skipAssets = false; 106 bool skipAssets = false;
107 bool forceTerrain = false; 107 bool forceTerrain = false;
108 bool forceParcels = false; 108 bool forceParcels = false;
109 bool noObjects = false;
109 Vector3 displacement = new Vector3(0f, 0f, 0f); 110 Vector3 displacement = new Vector3(0f, 0f, 0f);
110 float rotation = 0f; 111 float rotation = 0f;
111 Vector3 rotationCenter = new Vector3(Constants.RegionSize / 2f, Constants.RegionSize / 2f, 0); 112 Vector3 rotationCenter = new Vector3(Constants.RegionSize / 2f, Constants.RegionSize / 2f, 0);
@@ -117,6 +118,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
117 options.Add("forceterrain", delegate (string v) { forceTerrain = (v != null); }); // downward compatibility 118 options.Add("forceterrain", delegate (string v) { forceTerrain = (v != null); }); // downward compatibility
118 options.Add("force-parcels", delegate (string v) { forceParcels = (v != null); }); 119 options.Add("force-parcels", delegate (string v) { forceParcels = (v != null); });
119 options.Add("forceparcels", delegate (string v) { forceParcels = (v != null); }); // downward compatibility 120 options.Add("forceparcels", delegate (string v) { forceParcels = (v != null); }); // downward compatibility
121 options.Add("no-objects", delegate (string v) { noObjects = (v != null); });
120 options.Add("displacement=", delegate (string v) { 122 options.Add("displacement=", delegate (string v) {
121 try 123 try
122 { 124 {
@@ -178,6 +180,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver
178 if (skipAssets) archiveOptions.Add("skipAssets", null); 180 if (skipAssets) archiveOptions.Add("skipAssets", null);
179 if (forceTerrain) archiveOptions.Add("force-terrain", null); 181 if (forceTerrain) archiveOptions.Add("force-terrain", null);
180 if (forceParcels) archiveOptions.Add("force-parcels", null); 182 if (forceParcels) archiveOptions.Add("force-parcels", null);
183 if (noObjects) archiveOptions.Add("no-objects", null);
181 archiveOptions.Add("displacement", displacement); 184 archiveOptions.Add("displacement", displacement);
182 archiveOptions.Add("rotation", rotation); 185 archiveOptions.Add("rotation", rotation);
183 archiveOptions.Add("rotation-center", rotationCenter); 186 archiveOptions.Add("rotation-center", rotationCenter);