mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
remove terrain height clamping left over the ushort format testing
This commit is contained in:
@@ -158,11 +158,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
if (Double.IsNaN(value) || Double.IsInfinity(value))
|
||||
return;
|
||||
if (value < 0)
|
||||
value = 0;
|
||||
else
|
||||
if (value > 655.35)
|
||||
value = 655.35;
|
||||
|
||||
m_terrainData[x, y] = (float)value;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user