From 09d6521361273e2ec4cabfd168d37781fc685785 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 4 Feb 2012 01:00:11 +0000 Subject: Correct RC_* LSL constants used by llCastRay(). Many thanks to WhiteStar for doing the research on this. --- .../Shared/Api/Runtime/LSL_Constants.cs | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index a69b4cb..da1ef91 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs @@ -621,20 +621,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase public const string URL_REQUEST_GRANTED = "URL_REQUEST_GRANTED"; public const string URL_REQUEST_DENIED = "URL_REQUEST_DENIED"; - public static readonly LSLInteger RC_REJECT_TYPES = 2; - public static readonly LSLInteger RC_DATA_FLAGS = 4; - public static readonly LSLInteger RC_MAX_HITS = 8; - public static readonly LSLInteger RC_DETECT_PHANTOM = 16; + public static readonly LSLInteger RC_REJECT_TYPES = 0; + public static readonly LSLInteger RC_DETECT_PHANTOM = 1; + public static readonly LSLInteger RC_DATA_FLAGS = 2; + public static readonly LSLInteger RC_MAX_HITS = 3; - public static readonly LSLInteger RC_REJECT_AGENTS = 2; - public static readonly LSLInteger RC_REJECT_PHYSICAL = 4; - public static readonly LSLInteger RC_REJECT_NONPHYSICAL = 8; - public static readonly LSLInteger RC_REJECT_LAND = 16; + public static readonly LSLInteger RC_REJECT_AGENTS = 1; + public static readonly LSLInteger RC_REJECT_PHYSICAL = 2; + public static readonly LSLInteger RC_REJECT_NONPHYSICAL = 4; + public static readonly LSLInteger RC_REJECT_LAND = 8; - public static readonly LSLInteger RC_GET_NORMAL = 2; - public static readonly LSLInteger RC_GET_ROOT_KEY = 4; - public static readonly LSLInteger RC_GET_LINK_NUM = 8; + public static readonly LSLInteger RC_GET_NORMAL = 1; + public static readonly LSLInteger RC_GET_ROOT_KEY = 2; + public static readonly LSLInteger RC_GET_LINK_NUM = 4; - public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 1; + public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3; } } -- cgit v1.1