Added "save-prims-xml2 <PrimName> <FileName>", as we were lacking a method to save a single primitive or small group of them. This command will save all prims in the current scene that name matches the "PrimName" parameter. The saved file is in standard xml2 format, so can be loaded using load-xml2

This commit is contained in:
MW
2008-07-01 19:23:45 +00:00
parent 0aaf0c4565
commit c9fe500212
6 changed files with 58 additions and 4 deletions

View File

@@ -122,6 +122,11 @@ namespace OpenSim.Region.Environment.Modules.World.Serialiser
return SceneXmlLoader.SaveGroupToXml2(grp);
}
public void SavePrimListToXml2(List<EntityBase> entityList, string fileName)
{
SceneXmlLoader.SavePrimListToXml2(entityList, fileName);
}
public List<string> SerialiseRegion(Scene scene, string saveDir)
{
List<string> results = new List<string>();