cosmetics

This commit is contained in:
UbitUmarov
2026-06-12 12:12:24 +01:00
parent 2494f23538
commit 29889f481a
4 changed files with 36 additions and 61 deletions

View File

@@ -2117,7 +2117,7 @@ namespace OpenSim.Region.CoreModules.World.Land
{
// if you do a "About Landmark" on a landmark a second time, the viewer sends the
// region_handle it got earlier via RegionHandleRequest
ulong regionHandle = Util.BytesToUInt64Big((byte[])tmp);
ulong regionHandle = tmp.AsULong();
if(regionHandle == myHandle)
{
ILandObject l = GetLandObjectClippedXY(x, y);

View File

@@ -75,8 +75,8 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
private bool doConvexPrims = true;
private bool doConvexSculpts = true;
private readonly Dictionary<AMeshKey, Mesh> m_uniqueMeshes = new();
private readonly Dictionary<AMeshKey, Mesh> m_uniqueReleasedMeshes = new ();
private readonly Dictionary<AMeshKey, Mesh> m_uniqueMeshes = [];
private readonly Dictionary<AMeshKey, Mesh> m_uniqueReleasedMeshes = [];
#region INonSharedRegionModule
public string Name
@@ -173,7 +173,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
/// <param name="size">Size of entire object</param>
/// <param name="coords"></param>
/// <param name="faces"></param>
private unsafe void AddSubMesh(OSDMap subMeshData, List<Vector3> coords, List<Face> faces)
private unsafe void AddSubMesh(OSDMap subMeshData, List<Vector3> coords, List<Face> faces)
{
// Console.WriteLine("subMeshMap for {0} - {1}", primName, Util.GetFormattedXml((OSD)subMeshMap));
@@ -209,7 +209,7 @@ namespace OpenSim.Region.PhysicsModule.ubODEMeshing
int faceIndexOffset = coords.Count;
fixed (byte* ptrstart = posBytes)
{
{
byte* end = ptrstart + posBytes.Length;
byte* ptr = ptrstart;
while (ptr < end)

View File

@@ -96,7 +96,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Plugins
private const int SCRIPTED = 8;
private readonly float maximumRange = 96.0f;
private readonly int maximumToReturn = 16;
private readonly int maximumToReturn = 32;
//
// Sensed entity