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.
This commit is contained in:
MW
2007-08-13 13:36:42 +00:00
parent ed1208d043
commit b59d9789f8
4 changed files with 201 additions and 60 deletions

View File

@@ -1,5 +1,8 @@
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;
using System.IO;
using System;
using Axiom.Math;
using libsecondlife;
@@ -249,6 +252,27 @@ namespace OpenSim.Region.Environment.Scenes
}
#endregion
/// <summary>
///
/// </summary>
/// <param name="xmlreader"></param>
/// <returns></returns>
public static SceneObjectPart FromXml(XmlReader xmlReader)
{
XmlSerializer serializer = new XmlSerializer(typeof(SceneObjectPart));
return (SceneObjectPart)serializer.Deserialize(xmlReader);
}
/// <summary>
///
/// </summary>
/// <param name="xmlWriter"></param>
public void ToXml(XmlWriter xmlWriter)
{
XmlSerializer serializer = new XmlSerializer(typeof(SceneObjectPart));
serializer.Serialize(xmlWriter, this);
}
/// <summary>
///
/// </summary>