* 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
This commit is contained in:
Justin Clarke Casey
2008-05-28 17:49:34 +00:00
parent c4868b0eda
commit fb91a1aa49
7 changed files with 198 additions and 14 deletions

View File

@@ -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!");