mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
* 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:
@@ -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!");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user