diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMainConsole.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMainConsole.cs b/OpenSim/Region/Application/OpenSimMainConsole.cs index ea1243e..193bad4 100644 --- a/OpenSim/Region/Application/OpenSimMainConsole.cs +++ b/OpenSim/Region/Application/OpenSimMainConsole.cs | |||
@@ -359,6 +359,17 @@ namespace OpenSim | |||
359 | m_sceneManager.LoadCurrentSceneFromXml2(DEFAULT_PRIM_BACKUP_FILENAME); | 359 | m_sceneManager.LoadCurrentSceneFromXml2(DEFAULT_PRIM_BACKUP_FILENAME); |
360 | } | 360 | } |
361 | break; | 361 | break; |
362 | |||
363 | case "save-oar": | ||
364 | if (cmdparams.Length > 0) | ||
365 | { | ||
366 | m_sceneManager.SaveCurrentSceneToOar(cmdparams[0]); | ||
367 | } | ||
368 | else | ||
369 | { | ||
370 | m_sceneManager.SaveCurrentSceneToOar(DEFAULT_OAR_BACKUP_FILENAME); | ||
371 | } | ||
372 | break; | ||
362 | 373 | ||
363 | case "plugin": | 374 | case "plugin": |
364 | m_sceneManager.SendCommandToPluginModules(cmdparams); | 375 | m_sceneManager.SendCommandToPluginModules(cmdparams); |