the simplest case for llGetLinkName also applies to the LINK_THIS constant
parent
ec044537d5
commit
597df51f91
|
@ -3828,7 +3828,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
}
|
}
|
||||||
|
|
||||||
// simplest case, this prims link number
|
// simplest case, this prims link number
|
||||||
if (linknum == m_host.LinkNum)
|
if (linknum == m_host.LinkNum || linknum == ScriptBaseClass.LINK_THIS)
|
||||||
return m_host.Name;
|
return m_host.Name;
|
||||||
|
|
||||||
// Single prim
|
// Single prim
|
||||||
|
|
Loading…
Reference in New Issue