diff options
author | Melanie Thielker | 2008-07-30 22:37:42 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-07-30 22:37:42 +0000 |
commit | 3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb (patch) | |
tree | b9c4ab4ebb4deefcf15fe0f9d8d2848732b7a9d4 /OpenSim/Region/ScriptEngine/Shared | |
parent | From: Richard Alimi <ralimi@us.ibm.com> (diff) | |
download | opensim-SC-3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb.zip opensim-SC-3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb.tar.gz opensim-SC-3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb.tar.bz2 opensim-SC-3a2caa1f9a30c5d8d6b5e290f124f470ff0dd0fb.tar.xz |
Thank you, HomerHorwitz, for a patch that
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index c5f1763..7080ad1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -7008,7 +7008,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
7008 | public void llSetLinkTexture(int linknumber, string texture, int face) | 7008 | public void llSetLinkTexture(int linknumber, string texture, int face) |
7009 | { | 7009 | { |
7010 | m_host.AddScriptLPS(1); | 7010 | m_host.AddScriptLPS(1); |
7011 | NotImplemented("llSetLinkTexture"); | 7011 | |
7012 | if (m_host.ParentGroup == null) | ||
7013 | return; | ||
7014 | |||
7015 | SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknumber); | ||
7016 | |||
7017 | if (part == null) | ||
7018 | return; | ||
7019 | |||
7020 | SetTexture(part, texture, face); | ||
7012 | } | 7021 | } |
7013 | 7022 | ||
7014 | public string llStringTrim(string src, int type) | 7023 | public string llStringTrim(string src, int type) |