From 690e517240495fdd80e12f605ab7f3a05a4be006 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 3 Dec 2007 14:57:39 +0000 Subject: Added a flag to load-xml console command, that will generate new uuids for the loaded Sceneobjects (as per mantis request #53). To use append "-newUID" to the end of the command, so new format is : "load-xml -newUID". If you don't add the "-newUID", then the uuids in the xml file will be kept. --- OpenSim/Region/Environment/Scenes/Scene.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 38cfc8c..09ecae0 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -896,9 +896,9 @@ namespace OpenSim.Region.Environment.Scenes prim.OnPrimCountTainted += m_LandManager.setPrimsTainted; } - public void LoadPrimsFromXml(string fileName) + public void LoadPrimsFromXml(string fileName, bool newIdsFlag) { - m_sceneXmlLoader.LoadPrimsFromXml(fileName); + m_sceneXmlLoader.LoadPrimsFromXml(fileName, newIdsFlag); } public void SavePrimsToXml(string fileName) -- cgit v1.1