fix xml decode of kfm in single prims case

0.9.1.1
UbitUmarov 2019-11-23 01:17:03 +00:00
parent 2a508edcb4
commit 14270e316a
1 changed files with 6 additions and 5 deletions

View File

@ -112,10 +112,11 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
while (reader.ReadToNextSibling("Part"));
reader.ReadEndElement();
}
else
reader.Read();
if (reader.Name == "KeyframeMotion" && reader.NodeType == XmlNodeType.Element)
{
string innerkeytxt = reader.ReadElementContentAsString();
sceneObject.RootPart.KeyframeMotion =
KeyframeMotion.FromData(sceneObject, Convert.FromBase64String(innerkeytxt));