diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index 93a6300..f51e639 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Text.RegularExpressions; | 30 | using System.Text.RegularExpressions; |
31 | using OpenSim.Framework; | ||
31 | 32 | ||
32 | namespace OpenSim.Region.ScriptEngine.Shared | 33 | namespace OpenSim.Region.ScriptEngine.Shared |
33 | { | 34 | { |
@@ -1787,7 +1788,7 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1787 | else | 1788 | else |
1788 | if (v.EndsWith(".")) | 1789 | if (v.EndsWith(".")) |
1789 | v = v + "0"; | 1790 | v = v + "0"; |
1790 | this.value = double.Parse(v, System.Globalization.NumberStyles.Float); | 1791 | this.value = double.Parse(v, System.Globalization.NumberStyles.Float, Culture.FormatProvider); |
1791 | } | 1792 | } |
1792 | 1793 | ||
1793 | #endregion | 1794 | #endregion |