Fix a bug I brought in by manually editing a diff file. Terrain is if cource not always at 20m.
parent
e5beb480ea
commit
054a9928a0
|
@ -1512,7 +1512,7 @@ namespace OpenSim.Data.MySQL
|
||||||
for (int x = 0; x < (int)Constants.RegionSize; x++)
|
for (int x = 0; x < (int)Constants.RegionSize; x++)
|
||||||
for (int y = 0; y < (int)Constants.RegionSize; y++)
|
for (int y = 0; y < (int)Constants.RegionSize; y++)
|
||||||
{
|
{
|
||||||
double height = 20.0;
|
double height = val[x, y];
|
||||||
if (height == 0.0)
|
if (height == 0.0)
|
||||||
height = double.Epsilon;
|
height = double.Epsilon;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue