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 | |
parent | Change the timeout on WebUtil to 20s to help make more tps succeed (diff) | |
download | opensim-SC-722ae4f031738350be03ccd299b240acfe8d5b9d.zip opensim-SC-722ae4f031738350be03ccd299b240acfe8d5b9d.tar.gz opensim-SC-722ae4f031738350be03ccd299b240acfe8d5b9d.tar.bz2 opensim-SC-722ae4f031738350be03ccd299b240acfe8d5b9d.tar.xz |
Add a missing constand and fix ToDoubleList to not eat the last memeber
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 93d544b..c2fe691 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -373,6 +373,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
373 | public const int PRIM_SCULPT_TYPE_TORUS = 2; | 373 | public const int PRIM_SCULPT_TYPE_TORUS = 2; |
374 | public const int PRIM_SCULPT_TYPE_PLANE = 3; | 374 | public const int PRIM_SCULPT_TYPE_PLANE = 3; |
375 | public const int PRIM_SCULPT_TYPE_CYLINDER = 4; | 375 | public const int PRIM_SCULPT_TYPE_CYLINDER = 4; |
376 | public const int PRIM_SCULPT_FLAG_INVERT = 64; | ||
376 | 377 | ||
377 | public const int MASK_BASE = 0; | 378 | public const int MASK_BASE = 0; |
378 | public const int MASK_OWNER = 1; | 379 | public const int MASK_OWNER = 1; |
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 | { |