mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Thank you, HomerHorwitz, for a patch that
implements llSetLinkTexture. Heavily influenced by llSetLinkPrimitiveParams.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user