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

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