diff options
author | Melanie | 2011-02-02 20:22:03 +0100 |
---|---|---|
committer | Melanie | 2011-02-02 20:22:03 +0100 |
commit | 722ae4f031738350be03ccd299b240acfe8d5b9d (patch) | |
tree | 2f8a3d60c511921c0ed5c7088443303f091135a2 /OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |
parent | Change the timeout on WebUtil to 20s to help make more tps succeed (diff) | |
download | opensim-SC_OLD-722ae4f031738350be03ccd299b240acfe8d5b9d.zip opensim-SC_OLD-722ae4f031738350be03ccd299b240acfe8d5b9d.tar.gz opensim-SC_OLD-722ae4f031738350be03ccd299b240acfe8d5b9d.tar.bz2 opensim-SC_OLD-722ae4f031738350be03ccd299b240acfe8d5b9d.tar.xz |
Add a missing constand and fix ToDoubleList to not eat the last memeber
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs index f810fd8..665f4a6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs +++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | |||
@@ -1058,7 +1058,7 @@ namespace OpenSim.Region.ScriptEngine.Shared | |||
1058 | { | 1058 | { |
1059 | list ret = new list(); | 1059 | list ret = new list(); |
1060 | double entry; | 1060 | double entry; |
1061 | for (int i = 0; i < src.Data.Length - 1; i++) | 1061 | for (int i = 0; i < src.Data.Length; i++) |
1062 | { | 1062 | { |
1063 | if (double.TryParse(src.Data[i].ToString(), NumberStyles.Float, Culture.NumberFormatInfo, out entry)) | 1063 | if (double.TryParse(src.Data[i].ToString(), NumberStyles.Float, Culture.NumberFormatInfo, out entry)) |
1064 | { | 1064 | { |