diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 8cd2c7f..ae8f6f6 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -117,9 +117,8 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
117 | 117 | ||
118 | if (reader.Name == "KeyframeMotion" && reader.NodeType == XmlNodeType.Element) | 118 | if (reader.Name == "KeyframeMotion" && reader.NodeType == XmlNodeType.Element) |
119 | { | 119 | { |
120 | string innerkeytxt = reader.ReadElementContentAsString(); | 120 | string innerkeytxt = reader.ReadElementContentAsString(); |
121 | sceneObject.RootPart.KeyframeMotion = | 121 | sceneObject.RootPart.KeyframeMotion = KeyframeMotion.FromData(sceneObject, Convert.FromBase64String(innerkeytxt)); |
122 | KeyframeMotion.FromData(sceneObject, Convert.FromBase64String(innerkeytxt)); | ||
123 | } | 122 | } |
124 | else | 123 | else |
125 | sceneObject.RootPart.KeyframeMotion = null; | 124 | sceneObject.RootPart.KeyframeMotion = null; |