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.cpu-performance
parent
1a72f62d7b
commit
8a86e29579
|
@ -116,7 +116,7 @@ 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue