mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
on GetLinkNumPart ignore again link number 0 on a linkset with more than one prim, actually do it
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user