From c9fe500212cf8b8231ef0604a1f577e9bbedfcbe Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 1 Jul 2008 19:23:45 +0000 Subject: Added "save-prims-xml2 ", 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 --- .../Region/Environment/Modules/World/Serialiser/SerialiserModule.cs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs') diff --git a/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs b/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs index 28f3996..c7b5fa5 100644 --- a/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs +++ b/OpenSim/Region/Environment/Modules/World/Serialiser/SerialiserModule.cs @@ -122,6 +122,11 @@ namespace OpenSim.Region.Environment.Modules.World.Serialiser return SceneXmlLoader.SaveGroupToXml2(grp); } + public void SavePrimListToXml2(List entityList, string fileName) + { + SceneXmlLoader.SavePrimListToXml2(entityList, fileName); + } + public List SerialiseRegion(Scene scene, string saveDir) { List results = new List(); -- cgit v1.1