mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Mantis 6608: Math error in parcel dimensions/borders seen with land show command
This patch changes the land show console command to return numbers in the range 4 to 256 for the "to" coordinates instead of 0 to 252 Also trailing spaces removed from some lines.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
1a72f62d7b
commit
8a86e29579
@@ -81,14 +81,14 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
|
||||
set { m_landData = value; }
|
||||
}
|
||||
|
||||
|
||||
public IPrimCounts PrimCounts { get; set; }
|
||||
|
||||
public UUID RegionUUID
|
||||
{
|
||||
get { return m_scene.RegionInfo.RegionID; }
|
||||
}
|
||||
|
||||
|
||||
public Vector3 StartPoint
|
||||
{
|
||||
get
|
||||
@@ -101,11 +101,11 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
return new Vector3(x * 4, y * 4, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return new Vector3(-1, -1, -1);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public Vector3 EndPoint
|
||||
{
|
||||
get
|
||||
@@ -116,15 +116,15 @@ namespace OpenSim.Region.CoreModules.World.Land
|
||||
{
|
||||
if (LandBitmap[x, y])
|
||||
{
|
||||
return new Vector3(x * 4, y * 4, 0);
|
||||
}
|
||||
return new Vector3(x * 4 + 4, y * 4 + 4, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return new Vector3(-1, -1, -1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#region Constructors
|
||||
|
||||
public LandObject(UUID owner_id, bool is_group_owned, Scene scene)
|
||||
|
||||
Reference in New Issue
Block a user