mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
cosmetics
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user