mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Add --skip-assets option to load oar.
This allows you to load an oar without loading its assets. This is useful if you know that the required assets are already in the asset service, since loading without assets is quicker. This option will become more useful when the ability to save oars without assets is added, which should happen fairly soon. At this point there will also be better documentation.
This commit is contained in:
5
OpenSim/Region/Application/OpenSim.cs
Executable file → Normal file
5
OpenSim/Region/Application/OpenSim.cs
Executable file → Normal file
@@ -251,8 +251,9 @@ namespace OpenSim
|
||||
"Save named prim to XML2", SavePrimsXml2);
|
||||
|
||||
m_console.Commands.AddCommand("region", false, "load oar",
|
||||
"load oar [--merge] <oar name>",
|
||||
"Load a region's data from OAR archive", LoadOar);
|
||||
"load oar [--merge] [--skip-assets] <oar name>",
|
||||
"Load a region's data from OAR archive. --merge will merge the oar with the existing scene. --skip-assets will load the oar but ignore the assets it contains",
|
||||
LoadOar);
|
||||
|
||||
m_console.Commands.AddCommand("region", false, "save oar",
|
||||
"save oar <oar name>",
|
||||
|
||||
Reference in New Issue
Block a user