mirror of https://github.com/opensim/opensim.git
on GetLinkNumPart ignore again link number 0 on a linkset with more than one prim, actually do it
This commit is contained in:
parent
0dfb21dc13
commit
01b83bf79e
|
@ -3070,8 +3070,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
{
|
||||
if (linknum < 0)
|
||||
return null;
|
||||
if (linknum < 2)
|
||||
return RootPart;
|
||||
//if (linknum < 2)
|
||||
// return RootPart;
|
||||
|
||||
Span<SceneObjectPart> parts = m_parts.GetArray().AsSpan();
|
||||
if (linknum <= parts.Length)
|
||||
|
|
Loading…
Reference in New Issue