From ea940d98f91b65e0fdc0619bc4e421d506813870 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Thu, 6 Aug 2009 16:41:24 -0700 Subject: Added ToXml2() to ISceneObject, so that components other than regions can use this abstraction. --- OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Region/Framework') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 21e133b..c86e4a1 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -37,6 +37,7 @@ using OpenMetaverse.Packets; using OpenSim.Framework; using OpenSim.Region.Framework.Interfaces; using OpenSim.Region.Physics.Manager; +using OpenSim.Region.Framework.Scenes.Serialization; namespace OpenSim.Region.Framework.Scenes { @@ -3366,6 +3367,11 @@ namespace OpenSim.Region.Framework.Scenes return sog; } + public virtual string ToXml2() + { + return SceneObjectSerializer.ToXml2Format(this); + } + public virtual string ExtraToXmlString() { return "" + GetFromAssetID().ToString() + ""; -- cgit v1.1