remove terrain height clamping left over the ushort format testing

LSLKeyTest
UbitUmarov 2015-11-27 23:46:58 +00:00
parent f59350a1ee
commit 9928076d1a
1 changed files with 1 additions and 5 deletions

View File

@ -158,11 +158,7 @@ namespace OpenSim.Region.Framework.Scenes
{ {
if (Double.IsNaN(value) || Double.IsInfinity(value)) if (Double.IsNaN(value) || Double.IsInfinity(value))
return; return;
if (value < 0)
value = 0;
else
if (value > 655.35)
value = 655.35;
m_terrainData[x, y] = (float)value; m_terrainData[x, y] = (float)value;
} }
} }