From fb91a1aa49c098d03989a931280eaf668dceef18 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 28 May 2008 17:49:34 +0000 Subject: * Put in stubs for "load-oar" command, including ultra-primitive temporary tar loading code * Currently as a test, this will successfully load only the first file of an opensim archive and do absolutely nothing with it --- OpenSim/Region/Application/OpenSimMainConsole.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'OpenSim/Region/Application/OpenSimMainConsole.cs') diff --git a/OpenSim/Region/Application/OpenSimMainConsole.cs b/OpenSim/Region/Application/OpenSimMainConsole.cs index e4590f2..7b1b477 100644 --- a/OpenSim/Region/Application/OpenSimMainConsole.cs +++ b/OpenSim/Region/Application/OpenSimMainConsole.cs @@ -360,6 +360,19 @@ namespace OpenSim } break; + case "load-oar": + m_log.Error("[CONSOLE]: Don't use me - I haven't yet been sufficiently implemented!"); + + if (cmdparams.Length > 0) + { + m_sceneManager.LoadArchiveToCurrentScene(cmdparams[0]); + } + else + { + m_sceneManager.LoadArchiveToCurrentScene(DEFAULT_OAR_BACKUP_FILENAME); + } + break; + case "save-oar": m_log.Error("[CONSOLE]: Don't use me - I haven't yet been sufficiently implemented!"); -- cgit v1.1