From f747687c8ff141a35b7d527448baf5d493135746 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 19 Mar 2008 17:28:21 +0000 Subject: [PATCH] * Patch to add llSetLinkPrimitiveParams stub * Thanks krtaylor --- .../ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 4 ++++ OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 6 ++++++ .../ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs | 2 ++ 3 files changed, 12 insertions(+) diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 892a96c207..c4b2729f6b 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 ba0c8e54b7..612cca47be 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 fd2bd159af..cecda076d9 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)