* Now llGetLinkNumber() returns 0 if the prim is not linked, instead of 10.6.0-stable
parent
e1b7ace453
commit
03bd6c91a9
|
@ -2569,7 +2569,7 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
|
|
||||||
if (m_host.ParentGroup.Children.Count > 0)
|
if (m_host.ParentGroup.Children.Count > 1)
|
||||||
{
|
{
|
||||||
return m_host.LinkNum + 1;
|
return m_host.LinkNum + 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2457,7 +2457,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
|
|
||||||
if (m_host.ParentGroup.Children.Count > 0)
|
if (m_host.ParentGroup.Children.Count > 1)
|
||||||
{
|
{
|
||||||
return m_host.LinkNum + 1;
|
return m_host.LinkNum + 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue