on GetLinkNumPart ignore again link number 0 on a linkset with more than one prim, actually do it

This commit is contained in:
UbitUmarov 2024-01-22 02:36:15 +00:00
parent 0dfb21dc13
commit 01b83bf79e
1 changed files with 2 additions and 2 deletions

View File

@ -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)