aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMW2007-12-03 14:57:39 +0000
committerMW2007-12-03 14:57:39 +0000
commit690e517240495fdd80e12f605ab7f3a05a4be006 (patch)
tree47e93ec425d8d09d8d0f0ebfb8a1ed033cc3062e /OpenSim/Region/Environment/Scenes/Scene.cs
parentFixed bug in Appearance update in AvatarFactoryModule. (diff)
downloadopensim-SC_OLD-690e517240495fdd80e12f605ab7f3a05a4be006.zip
opensim-SC_OLD-690e517240495fdd80e12f605ab7f3a05a4be006.tar.gz
opensim-SC_OLD-690e517240495fdd80e12f605ab7f3a05a4be006.tar.bz2
opensim-SC_OLD-690e517240495fdd80e12f605ab7f3a05a4be006.tar.xz
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 <filename> -newUID". If you don't add the "-newUID", then the uuids in the xml file will be kept.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs4
1 files changed, 2 insertions, 2 deletions
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
896 prim.OnPrimCountTainted += m_LandManager.setPrimsTainted; 896 prim.OnPrimCountTainted += m_LandManager.setPrimsTainted;
897 } 897 }
898 898
899 public void LoadPrimsFromXml(string fileName) 899 public void LoadPrimsFromXml(string fileName, bool newIdsFlag)
900 { 900 {
901 m_sceneXmlLoader.LoadPrimsFromXml(fileName); 901 m_sceneXmlLoader.LoadPrimsFromXml(fileName, newIdsFlag);
902 } 902 }
903 903
904 public void SavePrimsToXml(string fileName) 904 public void SavePrimsToXml(string fileName)