diff options
author | Melanie Thielker | 2008-09-01 21:54:04 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-01 21:54:04 +0000 |
commit | bfeb3881f2f5ea52b38864bcc679390623613da0 (patch) | |
tree | 5487ceeba8ce1fc78d32533e77ade285dcc3fa7c /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | Mantis #2095 (diff) | |
download | opensim-SC-bfeb3881f2f5ea52b38864bcc679390623613da0.zip opensim-SC-bfeb3881f2f5ea52b38864bcc679390623613da0.tar.gz opensim-SC-bfeb3881f2f5ea52b38864bcc679390623613da0.tar.bz2 opensim-SC-bfeb3881f2f5ea52b38864bcc679390623613da0.tar.xz |
Another attempt at fixing XEngine llSetPrimitiveParams: Make it accept
LSLIntegers in lists, and attempt to address the scope issue on TRUE
and FALSE with readonly static linkage
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 739e168..e3b81b7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -35,8 +35,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
35 | public partial class ScriptBaseClass : MarshalByRefObject | 35 | public partial class ScriptBaseClass : MarshalByRefObject |
36 | { | 36 | { |
37 | // LSL CONSTANTS | 37 | // LSL CONSTANTS |
38 | public LSLInteger TRUE = new LSLInteger(1); | 38 | public static readonly LSLInteger TRUE = new LSLInteger(1); |
39 | public LSLInteger FALSE = new LSLInteger(0); | 39 | public static readonly LSLInteger FALSE = new LSLInteger(0); |
40 | 40 | ||
41 | public const int STATUS_PHYSICS = 1; | 41 | public const int STATUS_PHYSICS = 1; |
42 | public const int STATUS_ROTATE_X = 2; | 42 | public const int STATUS_ROTATE_X = 2; |