update warp3d.dll

This commit is contained in:
UbitUmarov 2024-01-26 18:20:25 +00:00
parent 0e13ed41ac
commit 7ce6dd4cf8
3 changed files with 8 additions and 7 deletions

View File

@ -224,7 +224,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.MapImage
}
else
{
m_log.DebugFormat("{0} Upload {1} maptiles for {2}", LogHeader,
m_log.DebugFormat("{0} Upload {1} maptiles for {2}", LogHeader,
(mapTile.Width * mapTile.Height) / (Constants.RegionSize * Constants.RegionSize),
scene.Name);

View File

@ -3068,14 +3068,15 @@ namespace OpenSim.Region.Framework.Scenes
/// <returns>null if no child part with that linknum or child part</returns>
public SceneObjectPart GetLinkNumPart(int linknum)
{
if (linknum < 0)
return null;
if (linknum < 2)
{
// old code and sl do ignore linknum = 0 on linksets with more than one prim
if (linknum == 0 && m_parts.Count > 1)
return null;
return RootPart;
return linknum switch
{
<0 => null,
// old code and sl do ignore linknum = 0 on linksets with more than one prim
0 => m_parts.Count > 1 ? null : RootPart,
_ => RootPart
};
}
Span<SceneObjectPart> parts = m_parts.GetArray().AsSpan();

Binary file not shown.