aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
diff options
context:
space:
mode:
authorubit2012-07-07 04:54:58 +0200
committerubit2012-07-07 04:54:58 +0200
commit5b6d31f268f39d18127fc2c86c0c262aeaf84fc3 (patch)
tree4928f742b33aa45b044d9bada88fd4d906e6198b /OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs
parentMerge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork (diff)
parentMerge branch 'avination' into ubitwork (diff)
downloadopensim-SC_OLD-5b6d31f268f39d18127fc2c86c0c262aeaf84fc3.zip
opensim-SC_OLD-5b6d31f268f39d18127fc2c86c0c262aeaf84fc3.tar.gz
opensim-SC_OLD-5b6d31f268f39d18127fc2c86c0c262aeaf84fc3.tar.bz2
opensim-SC_OLD-5b6d31f268f39d18127fc2c86c0c262aeaf84fc3.tar.xz
Merge branch 'ubitwork' of ssh://3dhosting.de/var/git/careminster into ubitwork
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs8
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());