From f747687c8ff141a35b7d527448baf5d493135746 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 19 Mar 2008 17:28:21 +0000 Subject: * Patch to add llSetLinkPrimitiveParams stub * Thanks krtaylor --- OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 4 ++++ OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 6 ++++++ .../Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs | 2 ++ 3 files changed, 12 insertions(+) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 892a96c..c4b2729 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs @@ -1485,6 +1485,10 @@ namespace OpenSim.Region.ScriptEngine.Common m_LSL_Functions.llSetPrimitiveParams(rules); } + public void llSetLinkPrimitiveParams(int linknumber, LSL_Types.list rules) + { + m_LSL_Functions.llSetLinkPrimitiveParams(linknumber, rules); + } public string llStringToBase64(string str) { return m_LSL_Functions.llStringToBase64(str); diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index ba0c8e5..612cca4 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -3268,6 +3268,12 @@ namespace OpenSim.Region.ScriptEngine.Common NotImplemented("llSetPrimitiveParams"); } + public void llSetLinkPrimitiveParams(int linknumber, LSL_Types.list rules) + { + m_host.AddScriptLPS(1); + NotImplemented("llSetLinkPrimitiveParams"); + } + public string llStringToBase64(string str) { m_host.AddScriptLPS(1); diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs index fd2bd15..cecda07 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs @@ -498,6 +498,8 @@ namespace OpenSim.Region.ScriptEngine.Common string llMD5String(string src, int nonce); //wiki: llSetPrimitiveParams( list rules ) void llSetPrimitiveParams(LSL_Types.list rules); + //wiki: llSetLinkPrimitiveParams(integer linknumber, list rules ) + void llSetLinkPrimitiveParams(int linknumber, LSL_Types.list rules); //wiki: string llStringToBase64(string str) string llStringToBase64(string str); //wiki: string llBase64ToString(string str) -- cgit v1.1