aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
diff options
context:
space:
mode:
authorMelanie Thielker2008-07-30 22:37:42 +0000
committerMelanie Thielker2008-07-30 22:37:42 +0000
commit3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb (patch)
treeb9c4ab4ebb4deefcf15fe0f9d8d2848732b7a9d4 /OpenSim/Region/ScriptEngine/Common
parentFrom: Richard Alimi <ralimi@us.ibm.com> (diff)
downloadopensim-SC_OLD-3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb.zip
opensim-SC_OLD-3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb.tar.gz
opensim-SC_OLD-3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb.tar.bz2
opensim-SC_OLD-3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb.tar.xz
Thank you, HomerHorwitz, for a patch that
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 59d5f08..89202b2 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -7230,7 +7230,16 @@ namespace OpenSim.Region.ScriptEngine.Common
7230 public void llSetLinkTexture(int linknumber, string texture, int face) 7230 public void llSetLinkTexture(int linknumber, string texture, int face)
7231 { 7231 {
7232 m_host.AddScriptLPS(1); 7232 m_host.AddScriptLPS(1);
7233 NotImplemented("llSetLinkTexture"); 7233
7234 if (m_host.ParentGroup == null)
7235 return;
7236
7237 SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknumber);
7238
7239 if (part == null)
7240 return;
7241
7242 SetTexture(part, texture, face);
7234 } 7243 }
7235 7244
7236 public string llStringTrim(string src, int type) 7245 public string llStringTrim(string src, int type)