diff options
author | Justin Clark-Casey (justincc) | 2012-02-04 01:00:11 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-02-04 01:00:11 +0000 |
commit | 09d6521361273e2ec4cabfd168d37781fc685785 (patch) | |
tree | 83b9a00523e9b18cd4dd02d22ec0bba3ccaab86d /OpenSim | |
parent | Add TestRegionSettingsDeserialize (diff) | |
download | opensim-SC_OLD-09d6521361273e2ec4cabfd168d37781fc685785.zip opensim-SC_OLD-09d6521361273e2ec4cabfd168d37781fc685785.tar.gz opensim-SC_OLD-09d6521361273e2ec4cabfd168d37781fc685785.tar.bz2 opensim-SC_OLD-09d6521361273e2ec4cabfd168d37781fc685785.tar.xz |
Correct RC_* LSL constants used by llCastRay().
Many thanks to WhiteStar for doing the research on this.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 24 |
1 files changed, 12 insertions, 12 deletions
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 | |||
621 | public const string URL_REQUEST_GRANTED = "URL_REQUEST_GRANTED"; | 621 | public const string URL_REQUEST_GRANTED = "URL_REQUEST_GRANTED"; |
622 | public const string URL_REQUEST_DENIED = "URL_REQUEST_DENIED"; | 622 | public const string URL_REQUEST_DENIED = "URL_REQUEST_DENIED"; |
623 | 623 | ||
624 | public static readonly LSLInteger RC_REJECT_TYPES = 2; | 624 | public static readonly LSLInteger RC_REJECT_TYPES = 0; |
625 | public static readonly LSLInteger RC_DATA_FLAGS = 4; | 625 | public static readonly LSLInteger RC_DETECT_PHANTOM = 1; |
626 | public static readonly LSLInteger RC_MAX_HITS = 8; | 626 | public static readonly LSLInteger RC_DATA_FLAGS = 2; |
627 | public static readonly LSLInteger RC_DETECT_PHANTOM = 16; | 627 | public static readonly LSLInteger RC_MAX_HITS = 3; |
628 | 628 | ||
629 | public static readonly LSLInteger RC_REJECT_AGENTS = 2; | 629 | public static readonly LSLInteger RC_REJECT_AGENTS = 1; |
630 | public static readonly LSLInteger RC_REJECT_PHYSICAL = 4; | 630 | public static readonly LSLInteger RC_REJECT_PHYSICAL = 2; |
631 | public static readonly LSLInteger RC_REJECT_NONPHYSICAL = 8; | 631 | public static readonly LSLInteger RC_REJECT_NONPHYSICAL = 4; |
632 | public static readonly LSLInteger RC_REJECT_LAND = 16; | 632 | public static readonly LSLInteger RC_REJECT_LAND = 8; |
633 | 633 | ||
634 | public static readonly LSLInteger RC_GET_NORMAL = 2; | 634 | public static readonly LSLInteger RC_GET_NORMAL = 1; |
635 | public static readonly LSLInteger RC_GET_ROOT_KEY = 4; | 635 | public static readonly LSLInteger RC_GET_ROOT_KEY = 2; |
636 | public static readonly LSLInteger RC_GET_LINK_NUM = 8; | 636 | public static readonly LSLInteger RC_GET_LINK_NUM = 4; |
637 | 637 | ||
638 | public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 1; | 638 | public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3; |
639 | } | 639 | } |
640 | } | 640 | } |