diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SOPVehicle.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SOPVehicle.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SOPVehicle.cs b/OpenSim/Region/Framework/Scenes/SOPVehicle.cs index 8d11331..351eda3 100644 --- a/OpenSim/Region/Framework/Scenes/SOPVehicle.cs +++ b/OpenSim/Region/Framework/Scenes/SOPVehicle.cs | |||
@@ -425,25 +425,25 @@ namespace OpenSim.Region.Framework.Scenes | |||
425 | 425 | ||
426 | private void XWfloat(string name, float f) | 426 | private void XWfloat(string name, float f) |
427 | { | 427 | { |
428 | writer.WriteElementString(name, f.ToString(Utils.EnUsCulture)); | 428 | writer.WriteElementString(name, f.ToString(Culture.FormatProvider)); |
429 | } | 429 | } |
430 | 430 | ||
431 | private void XWVector(string name, Vector3 vec) | 431 | private void XWVector(string name, Vector3 vec) |
432 | { | 432 | { |
433 | writer.WriteStartElement(name); | 433 | writer.WriteStartElement(name); |
434 | writer.WriteElementString("X", vec.X.ToString(Utils.EnUsCulture)); | 434 | writer.WriteElementString("X", vec.X.ToString(Culture.FormatProvider)); |
435 | writer.WriteElementString("Y", vec.Y.ToString(Utils.EnUsCulture)); | 435 | writer.WriteElementString("Y", vec.Y.ToString(Culture.FormatProvider)); |
436 | writer.WriteElementString("Z", vec.Z.ToString(Utils.EnUsCulture)); | 436 | writer.WriteElementString("Z", vec.Z.ToString(Culture.FormatProvider)); |
437 | writer.WriteEndElement(); | 437 | writer.WriteEndElement(); |
438 | } | 438 | } |
439 | 439 | ||
440 | private void XWQuat(string name, Quaternion quat) | 440 | private void XWQuat(string name, Quaternion quat) |
441 | { | 441 | { |
442 | writer.WriteStartElement(name); | 442 | writer.WriteStartElement(name); |
443 | writer.WriteElementString("X", quat.X.ToString(Utils.EnUsCulture)); | 443 | writer.WriteElementString("X", quat.X.ToString(Culture.FormatProvider)); |
444 | writer.WriteElementString("Y", quat.Y.ToString(Utils.EnUsCulture)); | 444 | writer.WriteElementString("Y", quat.Y.ToString(Culture.FormatProvider)); |
445 | writer.WriteElementString("Z", quat.Z.ToString(Utils.EnUsCulture)); | 445 | writer.WriteElementString("Z", quat.Z.ToString(Culture.FormatProvider)); |
446 | writer.WriteElementString("W", quat.W.ToString(Utils.EnUsCulture)); | 446 | writer.WriteElementString("W", quat.W.ToString(Culture.FormatProvider)); |
447 | writer.WriteEndElement(); | 447 | writer.WriteEndElement(); |
448 | } | 448 | } |
449 | 449 | ||