make llAvatarOnLinkSitTarget(0) return UUID.Zero
parent
4a0531244a
commit
ca5ec4c33b
|
@ -7740,11 +7740,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
if(linknum == ScriptBaseClass.LINK_SET ||
|
if(linknum == ScriptBaseClass.LINK_SET ||
|
||||||
linknum == ScriptBaseClass.LINK_ALL_CHILDREN ||
|
linknum == ScriptBaseClass.LINK_ALL_CHILDREN ||
|
||||||
linknum == ScriptBaseClass.LINK_ALL_OTHERS) return UUID.Zero.ToString();
|
linknum == ScriptBaseClass.LINK_ALL_OTHERS ||
|
||||||
|
linknum == 0)
|
||||||
|
return UUID.Zero.ToString();
|
||||||
|
|
||||||
List<SceneObjectPart> parts = GetLinkParts(linknum);
|
List<SceneObjectPart> parts = GetLinkParts(linknum);
|
||||||
if (parts.Count == 0) return UUID.Zero.ToString();
|
if (parts.Count == 0)
|
||||||
|
return UUID.Zero.ToString();
|
||||||
return parts[0].SitTargetAvatar.ToString();
|
return parts[0].SitTargetAvatar.ToString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue