diff options
Merge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 1b11f2c..2527757 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -10777,6 +10777,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
10777 | 10777 | ||
10778 | return GetLinkPrimitiveParams(obj, rules); | 10778 | return GetLinkPrimitiveParams(obj, rules); |
10779 | } | 10779 | } |
10780 | |||
10781 | public LSL_Integer llGetLinkNumberOfSides(LSL_Integer link) | ||
10782 | { | ||
10783 | List<SceneObjectPart> parts = GetLinkParts(link); | ||
10784 | if (parts.Count < 1) | ||
10785 | return 0; | ||
10786 | |||
10787 | return GetNumberOfSides(parts[0]); | ||
10788 | } | ||
10780 | } | 10789 | } |
10781 | 10790 | ||
10782 | public class NotecardCache | 10791 | public class NotecardCache |