diff options
author | UbitUmarov | 2019-11-23 01:21:36 +0000 |
---|---|---|
committer | UbitUmarov | 2019-11-23 01:21:36 +0000 |
commit | 6e2b5ac238ec5614fb9067ef94024bccf0459264 (patch) | |
tree | 204fe774914cb532bfeb90c37220dbfed06be6d2 /OpenSim | |
parent | fix xml decode of kfm in single prims case (diff) | |
download | opensim-SC-6e2b5ac238ec5614fb9067ef94024bccf0459264.zip opensim-SC-6e2b5ac238ec5614fb9067ef94024bccf0459264.tar.gz opensim-SC-6e2b5ac238ec5614fb9067ef94024bccf0459264.tar.bz2 opensim-SC-6e2b5ac238ec5614fb9067ef94024bccf0459264.tar.xz |
fix identation
Diffstat (limited to 'OpenSim')
-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; |