mirror of https://github.com/opensim/opensim.git
update warp3d.dll
This commit is contained in:
parent
0e13ed41ac
commit
7ce6dd4cf8
|
@ -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);
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
BIN
bin/Warp3D.dll
BIN
bin/Warp3D.dll
Binary file not shown.
Loading…
Reference in New Issue