aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs3
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 @@
28using System; 28using System;
29using System.Collections; 29using System.Collections;
30using System.Text.RegularExpressions; 30using System.Text.RegularExpressions;
31using OpenSim.Framework;
31 32
32namespace OpenSim.Region.ScriptEngine.Shared 33namespace 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