aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMW2007-08-13 13:36:42 +0000
committerMW2007-08-13 13:36:42 +0000
commitb59d9789f8cafdc64ebf4ecf4fec75d5589c97f7 (patch)
treefde390d45ddb9fde739c4c009e4a501228d20ec3 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parentScriptEngine successfully compiles script, we are now even further than LSO was. (diff)
downloadopensim-SC_OLD-b59d9789f8cafdc64ebf4ecf4fec75d5589c97f7.zip
opensim-SC_OLD-b59d9789f8cafdc64ebf4ecf4fec75d5589c97f7.tar.gz
opensim-SC_OLD-b59d9789f8cafdc64ebf4ecf4fec75d5589c97f7.tar.bz2
opensim-SC_OLD-b59d9789f8cafdc64ebf4ecf4fec75d5589c97f7.tar.xz
Partial Linking of prim groups should work (its partial as currently only the root prim of the child group will actually get linked, working on linking the rest now).
Multiple prim groups are now stored in the sqlite database and are reloaded correctly.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 1b373aa..c1348c7 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1,5 +1,8 @@
1using System.Collections.Generic; 1using System.Collections.Generic;
2using System.Text; 2using System.Text;
3using System.Xml;
4using System.Xml.Serialization;
5using System.IO;
3using System; 6using System;
4using Axiom.Math; 7using Axiom.Math;
5using libsecondlife; 8using libsecondlife;
@@ -252,6 +255,27 @@ namespace OpenSim.Region.Environment.Scenes
252 /// <summary> 255 /// <summary>
253 /// 256 ///
254 /// </summary> 257 /// </summary>
258 /// <param name="xmlreader"></param>
259 /// <returns></returns>
260 public static SceneObjectPart FromXml(XmlReader xmlReader)
261 {
262 XmlSerializer serializer = new XmlSerializer(typeof(SceneObjectPart));
263 return (SceneObjectPart)serializer.Deserialize(xmlReader);
264 }
265
266 /// <summary>
267 ///
268 /// </summary>
269 /// <param name="xmlWriter"></param>
270 public void ToXml(XmlWriter xmlWriter)
271 {
272 XmlSerializer serializer = new XmlSerializer(typeof(SceneObjectPart));
273 serializer.Serialize(xmlWriter, this);
274 }
275
276 /// <summary>
277 ///
278 /// </summary>
255 public void SetParent(SceneObjectGroup parent) 279 public void SetParent(SceneObjectGroup parent)
256 { 280 {
257 m_parentGroup = parent; 281 m_parentGroup = parent;