diff options
author | Mike Mazur | 2009-01-12 09:04:31 +0000 |
---|---|---|
committer | Mike Mazur | 2009-01-12 09:04:31 +0000 |
commit | a7bc56073c0b933a986ad1feb0a877d42004b25c (patch) | |
tree | 3e65d5a44a119d0e328fae27043340cd5515170f | |
parent | Commenting out the succesful REST message as under heavy use there (diff) | |
download | opensim-SC-a7bc56073c0b933a986ad1feb0a877d42004b25c.zip opensim-SC-a7bc56073c0b933a986ad1feb0a877d42004b25c.tar.gz opensim-SC-a7bc56073c0b933a986ad1feb0a877d42004b25c.tar.bz2 opensim-SC-a7bc56073c0b933a986ad1feb0a877d42004b25c.tar.xz |
Make ZERO_ROTATION.y a float. Fixes Mantis #2985.
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 2 | ||||
-rw-r--r-- | OpenSim/ScriptEngine/Components/DotNetEngine/Commands_LSL/LSL_Constants.cs | 2 |
2 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 1908c57..18bf82f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -459,7 +459,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
459 | 459 | ||
460 | // Can not be public const? | 460 | // Can not be public const? |
461 | public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); | 461 | public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); |
462 | public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); | 462 | public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0); |
463 | 463 | ||
464 | // constants for llSetCameraParams | 464 | // constants for llSetCameraParams |
465 | public const int CAMERA_PITCH = 0; | 465 | public const int CAMERA_PITCH = 0; |
diff --git a/OpenSim/ScriptEngine/Components/DotNetEngine/Commands_LSL/LSL_Constants.cs b/OpenSim/ScriptEngine/Components/DotNetEngine/Commands_LSL/LSL_Constants.cs index 9dd3c2f..b4e8c16 100644 --- a/OpenSim/ScriptEngine/Components/DotNetEngine/Commands_LSL/LSL_Constants.cs +++ b/OpenSim/ScriptEngine/Components/DotNetEngine/Commands_LSL/LSL_Constants.cs | |||
@@ -451,7 +451,7 @@ namespace OpenSim.ScriptEngine.Components.DotNetEngine.Commands_LSL | |||
451 | 451 | ||
452 | // Can not be public const? | 452 | // Can not be public const? |
453 | public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); | 453 | public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); |
454 | public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); | 454 | public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0); |
455 | 455 | ||
456 | // constants for llSetCameraParams | 456 | // constants for llSetCameraParams |
457 | public const int CAMERA_PITCH = 0; | 457 | public const int CAMERA_PITCH = 0; |