From a7bc56073c0b933a986ad1feb0a877d42004b25c Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Mon, 12 Jan 2009 09:04:31 +0000 Subject: [PATCH] Make ZERO_ROTATION.y a float. Fixes Mantis #2985. --- OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 2 +- .../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 1908c57b7b..18bf82f69e 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 // Can not be public const? public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); - public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); + public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0); // constants for llSetCameraParams 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 9dd3c2f876..b4e8c16e51 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 // Can not be public const? public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); - public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); + public static readonly rotation ZERO_ROTATION = new rotation(0.0, 0.0, 0.0, 1.0); // constants for llSetCameraParams public const int CAMERA_PITCH = 0;