diff options
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 11 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 11 |
2 files changed, 20 insertions, 2 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) |
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) |