fix xml decode of kfm in single prims case
parent
2a508edcb4
commit
14270e316a
|
@ -112,10 +112,11 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
|
||||||
while (reader.ReadToNextSibling("Part"));
|
while (reader.ReadToNextSibling("Part"));
|
||||||
reader.ReadEndElement();
|
reader.ReadEndElement();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
reader.Read();
|
||||||
|
|
||||||
if (reader.Name == "KeyframeMotion" && reader.NodeType == XmlNodeType.Element)
|
if (reader.Name == "KeyframeMotion" && reader.NodeType == XmlNodeType.Element)
|
||||||
{
|
{
|
||||||
|
|
||||||
string innerkeytxt = reader.ReadElementContentAsString();
|
string innerkeytxt = reader.ReadElementContentAsString();
|
||||||
sceneObject.RootPart.KeyframeMotion =
|
sceneObject.RootPart.KeyframeMotion =
|
||||||
KeyframeMotion.FromData(sceneObject, Convert.FromBase64String(innerkeytxt));
|
KeyframeMotion.FromData(sceneObject, Convert.FromBase64String(innerkeytxt));
|
||||||
|
|
Loading…
Reference in New Issue