Fix deserialization of Buoyancy, Force and Torque. Remove debug from the new

code.
This commit is contained in:
Melanie
2012-02-26 14:30:24 +01:00
parent 9a15bba99b
commit 8cdc115c91
5 changed files with 9 additions and 11 deletions

View File

@@ -246,14 +246,9 @@ namespace OpenSim.Region.Framework.Scenes.Serialization
XmlNodeList keymotion = doc.GetElementsByTagName("KeyframeMotion");
if (keymotion.Count > 0)
{
m_log.DebugFormat("[SERIALIZER]: Deserialized KeyframeMotion");
sceneObject.KeyframeMotion = KeyframeMotion.FromData(sceneObject, Convert.FromBase64String(keymotion[0].InnerText));
}
else
{
sceneObject.KeyframeMotion = null;
}
// Script state may, or may not, exist. Not having any, is NOT
// ever a problem.