diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 52bd5c9..40e88f1 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -1415,8 +1415,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
1415 | if (sop.VehicleParams != null) | 1415 | if (sop.VehicleParams != null) |
1416 | sop.VehicleParams.ToXml2(writer); | 1416 | sop.VehicleParams.ToXml2(writer); |
1417 | 1417 | ||
1418 | if(sop.PhysicsShapeType != sop.DefaultPhysicsShapeType()) | 1418 | writer.WriteElementString("PhysicsShapeType", sop.PhysicsShapeType.ToString().ToLower()); |
1419 | writer.WriteElementString("PhysicsShapeType", sop.PhysicsShapeType.ToString().ToLower()); | ||
1420 | if (sop.Density != 1000.0f) | 1419 | if (sop.Density != 1000.0f) |
1421 | writer.WriteElementString("Density", sop.Density.ToString().ToLower()); | 1420 | writer.WriteElementString("Density", sop.Density.ToString().ToLower()); |
1422 | if (sop.Friction != 0.6f) | 1421 | if (sop.Friction != 0.6f) |