aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-28 17:49:34 +0000
committerJustin Clarke Casey2008-05-28 17:49:34 +0000
commitfb91a1aa49c098d03989a931280eaf668dceef18 (patch)
tree15dc2b18eaa7fac353d07eda7a6bf21fce1cfd64 /OpenSim/Region/Application
parentspring cleaning, remove a bit of db4o grid server (diff)
downloadopensim-SC_OLD-fb91a1aa49c098d03989a931280eaf668dceef18.zip
opensim-SC_OLD-fb91a1aa49c098d03989a931280eaf668dceef18.tar.gz
opensim-SC_OLD-fb91a1aa49c098d03989a931280eaf668dceef18.tar.bz2
opensim-SC_OLD-fb91a1aa49c098d03989a931280eaf668dceef18.tar.xz
* 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
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r--OpenSim/Region/Application/OpenSimMainConsole.cs13
1 files changed, 13 insertions, 0 deletions
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
360 } 360 }
361 break; 361 break;
362 362
363 case "load-oar":
364 m_log.Error("[CONSOLE]: Don't use me - I haven't yet been sufficiently implemented!");
365
366 if (cmdparams.Length > 0)
367 {
368 m_sceneManager.LoadArchiveToCurrentScene(cmdparams[0]);
369 }
370 else
371 {
372 m_sceneManager.LoadArchiveToCurrentScene(DEFAULT_OAR_BACKUP_FILENAME);
373 }
374 break;
375
363 case "save-oar": 376 case "save-oar":
364 m_log.Error("[CONSOLE]: Don't use me - I haven't yet been sufficiently implemented!"); 377 m_log.Error("[CONSOLE]: Don't use me - I haven't yet been sufficiently implemented!");
365 378