diff options
author | Robert Adams | 2014-01-19 12:45:16 -0800 |
---|---|---|
committer | Robert Adams | 2014-01-19 12:45:16 -0800 |
commit | 5e6a47f13f3dbc273dda0f76e506b60fd27d7f66 (patch) | |
tree | 1184bed69a3eb16745ba63d08c2bfc83f95774a5 /OpenSim/Region/Application/OpenSim.cs | |
parent | varregion: add --noterrain and --noparcel to 'load oar'. (diff) | |
download | opensim-SC-5e6a47f13f3dbc273dda0f76e506b60fd27d7f66.zip opensim-SC-5e6a47f13f3dbc273dda0f76e506b60fd27d7f66.tar.gz opensim-SC-5e6a47f13f3dbc273dda0f76e506b60fd27d7f66.tar.bz2 opensim-SC-5e6a47f13f3dbc273dda0f76e506b60fd27d7f66.tar.xz |
varregion: remove --noterrain and --noparcel parameters in 'load oar'.
Add --forceterrain and --forceparcel to 'load oar'. In order to not change
the operation of --merge (which does an object merge and suppresses terrain
and parcel information loading), added the --force* parameters to be used
when loading multiple oars to build up a varregion.
Added --rotation and --rotationcenter parameters to 'load oar' which apply a rotation to
the loaded oar objects before displacing. The rotation is in degrees (pos or neg)
and the center defaults to "<128, 128, 0>".
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSim.cs | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index 30e2b1b..1e36853 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs | |||
@@ -266,13 +266,19 @@ namespace OpenSim | |||
266 | SavePrimsXml2); | 266 | SavePrimsXml2); |
267 | 267 | ||
268 | m_console.Commands.AddCommand("Archiving", false, "load oar", | 268 | m_console.Commands.AddCommand("Archiving", false, "load oar", |
269 | "load oar [--merge] [--skip-assets] [--noterrain] [--displacement \"<x,y,z>\"] [<OAR path>]", | 269 | "load oar [--merge] [--skip-assets]" |
270 | + " [--forceterrain] [--forceparcels]" | ||
271 | + " [--rotation degrees] [--rotationCenter \"<x,y,z>\"]" | ||
272 | + " [--displacement \"<x,y,z>\"]" | ||
273 | + " [<OAR path>]", | ||
270 | "Load a region's data from an OAR archive.", | 274 | "Load a region's data from an OAR archive.", |
271 | "--merge will merge the OAR with the existing scene." + Environment.NewLine | 275 | "--merge will merge the OAR with the existing scene (suppresses terrain and parcel info loading)." + Environment.NewLine |
272 | + "--skip-assets will load the OAR but ignore the assets it contains." + Environment.NewLine | 276 | + "--skip-assets will load the OAR but ignore the assets it contains." + Environment.NewLine |
273 | + "--displacement will add this value to the position of every object loaded" + Environment.NewLine | 277 | + "--displacement will add this value to the position of every object loaded" + Environment.NewLine |
274 | + "--noterrain suppresses the loading of terrain from the oar" + Environment.NewLine | 278 | + "--forceterrain forces the loading of terrain from the oar (undoes suppression done by --merge)" + Environment.NewLine |
275 | + "--noparcels suppresses the loading of parcels from the oar" + Environment.NewLine | 279 | + "--forceparcels forces the loading of parcels from the oar (undoes suppression done by --merge)" + Environment.NewLine |
280 | + "--rotation specified rotation to be applied to the oar. Specified in degrees." + Environment.NewLine | ||
281 | + "--rotationcenter Location (relative to original OAR) to apply rotation. Default is <128,128,0>" + Environment.NewLine | ||
276 | + "The path can be either a filesystem location or a URI." | 282 | + "The path can be either a filesystem location or a URI." |
277 | + " If this is not given then the command looks for an OAR named region.oar in the current directory.", | 283 | + " If this is not given then the command looks for an OAR named region.oar in the current directory.", |
278 | LoadOar); | 284 | LoadOar); |