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/Region/Application/OpenSim.cs | |
parent | rename ImapTileModule as IMAPImageUploadModule to match core (diff) | |
download | opensim-SC_OLD-3829df10595911de9ed1ce2f7b6cdd205828f8d0.zip opensim-SC_OLD-3829df10595911de9ed1ce2f7b6cdd205828f8d0.tar.gz opensim-SC_OLD-3829df10595911de9ed1ce2f7b6cdd205828f8d0.tar.bz2 opensim-SC_OLD-3829df10595911de9ed1ce2f7b6cdd205828f8d0.tar.xz |
try to implement core load oar options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index b9b9cd0..1e6ef3b 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -267,12 +267,26 @@ namespace OpenSim | |||
267 | SavePrimsXml2); | 267 | SavePrimsXml2); |
268 | 268 | ||
269 | m_console.Commands.AddCommand("Archiving", false, "load oar", | 269 | m_console.Commands.AddCommand("Archiving", false, "load oar", |
270 | "load oar [--merge] [--skip-assets] [<OAR path>]", | 270 | |
271 | "load oar [--merge] [--skip-assets]" | ||
272 | + " [--default-user \"User Name\"]" | ||
273 | + " [--force-terrain] [--force-parcels]" | ||
274 | + " [--no-objects]" | ||
275 | + " [--rotation degrees] [--rotation-center \"<x,y,z>\"]" | ||
276 | + " [--displacement \"<x,y,z>\"]" | ||
277 | + " [<OAR path>]", | ||
271 | "Load a region's data from an OAR archive.", | 278 | "Load a region's data from an OAR archive.", |
272 | "--merge will merge the OAR with the existing scene." + Environment.NewLine | 279 | "--merge will merge the OAR with the existing scene (suppresses terrain and parcel info loading).\n" |
273 | + "--skip-assets will load the OAR but ignore the assets it contains." + Environment.NewLine | 280 | + "--default-user will use this user for any objects with an owner whose UUID is not found in the grid.\n" |
274 | + "The path can be either a filesystem location or a URI." | 281 | + "--displacement will add this value to the position of every object loaded.\n" |
275 | + " If this is not given then the command looks for an OAR named region.oar in the current directory.", | 282 | + "--force-terrain forces the loading of terrain from the oar (undoes suppression done by --merge).\n" |
283 | + "--force-parcels forces the loading of parcels from the oar (undoes suppression done by --merge).\n" | ||
284 | + "--no-objects suppresses the addition of any objects (good for loading only the terrain).\n" | ||
285 | + "--rotation specified rotation to be applied to the oar. Specified in degrees.\n" | ||
286 | + "--rotation-center Location (relative to original OAR) to apply rotation. Default is <128,128,0>.\n" | ||
287 | + "--skip-assets will load the OAR but ignore the assets it contains.\n\n" | ||
288 | + "The path can be either a filesystem location or a URI.\n" | ||
289 | + " If this is not given then the command looks for an OAR named region.oar in the current directory.", | ||
276 | LoadOar); | 290 | LoadOar); |
277 | 291 | ||
278 | m_console.Commands.AddCommand("Archiving", false, "save oar", | 292 | m_console.Commands.AddCommand("Archiving", false, "save oar", |