* 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

@@ -192,7 +192,7 @@ namespace OpenSim.Region.Environment.Scenes
public void LoadCurrentSceneFromXml2(string filename)
{
CurrentOrFirstScene.LoadPrimsFromXml2(filename);
}
}
/// <summary>
/// Save the current scene to an OpenSimulator archive. This archive will eventually include the prim's assets
@@ -209,9 +209,9 @@ namespace OpenSim.Region.Environment.Scenes
/// their assets to the asset service.
/// </summary>
/// <param name="filename"></param>
public void LoadCurrentSceneFromArchive(string filename)
public void LoadArchiveToCurrentScene(string filename)
{
CurrentOrFirstScene.SavePrimsToArchive(filename);
CurrentOrFirstScene.LoadPrimsFromArchive(filename);
}
[Obsolete("TODO: Remove this warning by 0.7")]