mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
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:
@@ -204,6 +204,11 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
CurrentOrFirstScene.SavePrimsToXml2(filename);
|
||||
}
|
||||
|
||||
public void SaveNamedPrimsToXml2(string primName, string filename)
|
||||
{
|
||||
CurrentOrFirstScene.SaveNamedPrimsToXml2( primName, filename);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Load an xml file of prims in OpenSimulator's current 'xml2' file format to the current scene
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user