mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Fix deserialization of Buoyancy, Force and Torque. Remove debug from the new
code.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user