diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 151eba2..c7e4c3e 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -630,13 +630,13 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
630 | 630 | ||
631 | if (errors) | 631 | if (errors) |
632 | { | 632 | { |
633 | obj.sopVehicle = null; | 633 | obj.VehicleParams = null; |
634 | m_log.DebugFormat( | 634 | m_log.DebugFormat( |
635 | "[SceneObjectSerializer]: Parsing Vehicle for object part {0} {1} encountered errors. Please see earlier log entries.", | 635 | "[SceneObjectSerializer]: Parsing Vehicle for object part {0} {1} encountered errors. Please see earlier log entries.", |
636 | obj.Name, obj.UUID); | 636 | obj.Name, obj.UUID); |
637 | } | 637 | } |
638 | else | 638 | else |
639 | obj.sopVehicle = _vehicle; | 639 | obj.VehicleParams = _vehicle; |
640 | } | 640 | } |
641 | 641 | ||
642 | private static void ProcessShape(SceneObjectPart obj, XmlTextReader reader) | 642 | private static void ProcessShape(SceneObjectPart obj, XmlTextReader reader) |
@@ -1325,8 +1325,8 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1325 | 1325 | ||
1326 | writer.WriteElementString("VolumeDetectActive", sop.VolumeDetectActive.ToString().ToLower()); | 1326 | writer.WriteElementString("VolumeDetectActive", sop.VolumeDetectActive.ToString().ToLower()); |
1327 | 1327 | ||
1328 | if (sop.sopVehicle != null) | 1328 | if (sop.VehicleParams != null) |
1329 | sop.sopVehicle.ToXml2(writer); | 1329 | sop.VehicleParams.ToXml2(writer); |
1330 | 1330 | ||
1331 | if(sop.PhysicsShapeType != sop.DefaultPhysicsShapeType()) | 1331 | if(sop.PhysicsShapeType != sop.DefaultPhysicsShapeType()) |
1332 | writer.WriteElementString("PhysicsShapeType", sop.PhysicsShapeType.ToString().ToLower()); | 1332 | writer.WriteElementString("PhysicsShapeType", sop.PhysicsShapeType.ToString().ToLower()); |