Thank you, HomerHorwitz, for a patch that
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.0.6.0-stable
parent
5095b4c212
commit
3a2caa1f9a
|
@ -7230,7 +7230,16 @@ namespace OpenSim.Region.ScriptEngine.Common
|
|||
public void llSetLinkTexture(int linknumber, string texture, int face)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llSetLinkTexture");
|
||||
|
||||
if (m_host.ParentGroup == null)
|
||||
return;
|
||||
|
||||
SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknumber);
|
||||
|
||||
if (part == null)
|
||||
return;
|
||||
|
||||
SetTexture(part, texture, face);
|
||||
}
|
||||
|
||||
public string llStringTrim(string src, int type)
|
||||
|
|
|
@ -7008,7 +7008,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
public void llSetLinkTexture(int linknumber, string texture, int face)
|
||||
{
|
||||
m_host.AddScriptLPS(1);
|
||||
NotImplemented("llSetLinkTexture");
|
||||
|
||||
if (m_host.ParentGroup == null)
|
||||
return;
|
||||
|
||||
SceneObjectPart part = m_host.ParentGroup.GetLinkNumPart(linknumber);
|
||||
|
||||
if (part == null)
|
||||
return;
|
||||
|
||||
SetTexture(part, texture, face);
|
||||
}
|
||||
|
||||
public string llStringTrim(string src, int type)
|
||||
|
|
Loading…
Reference in New Issue