aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorSean Dague2007-12-05 18:45:05 +0000
committerSean Dague2007-12-05 18:45:05 +0000
commit9c81b8a430b7fc8b0181310132f4bc9de414f19d (patch)
treeba6b03695d1bfdebfbc3c81bd55bc8ac41eeac46 /OpenSim/Region/Environment/Scenes/Scene.cs
parent* Applied MSSQL Patch from akokko, Thanks! akokko (diff)
downloadopensim-SC_OLD-9c81b8a430b7fc8b0181310132f4bc9de414f19d.zip
opensim-SC_OLD-9c81b8a430b7fc8b0181310132f4bc9de414f19d.tar.gz
opensim-SC_OLD-9c81b8a430b7fc8b0181310132f4bc9de414f19d.tar.bz2
opensim-SC_OLD-9c81b8a430b7fc8b0181310132f4bc9de414f19d.tar.xz
From Gary Chernega (IBM)
This patch adds x, y, and z offsets to the load-xml command. If you had a prim at 100,100,20 thats where it would get loaded everytime. This patch lets you place it at an offset from 100,100,20.. as such: load-xml <filespec> -newUI 3 1 2 Loading the prim at 103, 101, 22
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 5ae26d3..f3ea89a 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -885,9 +885,9 @@ namespace OpenSim.Region.Environment.Scenes
885 prim.OnPrimCountTainted += m_LandManager.setPrimsTainted; 885 prim.OnPrimCountTainted += m_LandManager.setPrimsTainted;
886 } 886 }
887 887
888 public void LoadPrimsFromXml(string fileName, bool newIdsFlag) 888 public void LoadPrimsFromXml(string fileName, bool newIdsFlag, LLVector3 loadOffset)
889 { 889 {
890 m_sceneXmlLoader.LoadPrimsFromXml(fileName, newIdsFlag); 890 m_sceneXmlLoader.LoadPrimsFromXml(fileName, newIdsFlag, loadOffset);
891 } 891 }
892 892
893 public void SavePrimsToXml(string fileName) 893 public void SavePrimsToXml(string fileName)