From 59de8fbba037fbab6e7b49170229d90d77fbb1bf Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sun, 16 Jul 2017 06:10:24 +0100 Subject: [PATCH] fix placement of xml ReadEndElement() --- .../Framework/Scenes/Serialization/SceneObjectSerializer.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index cdf275bb25..82bbe6f384 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs @@ -110,9 +110,8 @@ namespace OpenSim.Region.Framework.Scenes.Serialization } } while (reader.ReadToNextSibling("Part")); - } - reader.ReadEndElement(); + } if (reader.Name == "KeyframeMotion" && reader.NodeType == XmlNodeType.Element) {