Fix:LINK_ROOT flag for llGetLinkName() by SinglePrim

xassetservice
PixelTomsen 2012-02-21 20:57:51 +01:00 committed by Justin Clark-Casey (justincc)
parent 5397a6d4c6
commit 1c533eb520
1 changed files with 1 additions and 1 deletions

View File

@ -3845,7 +3845,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
// Single prim
if (m_host.LinkNum == 0)
{
if (linknum == 0)
if (linknum == 0 || linknum == ScriptBaseClass.LINK_ROOT)
return m_host.Name;
else
return UUID.Zero.ToString();