diff options
author | Melanie | 2013-02-06 18:13:02 +0000 |
---|---|---|
committer | Melanie | 2013-02-06 18:13:02 +0000 |
commit | 054a9928a0a393e6e880c0a716714b9f009f6ede (patch) | |
tree | 417f2bd124941edf59a3529628978ca62acfd3cd /OpenSim/Data | |
parent | Partial port of Avination's support for the new physics parameters. (diff) | |
download | opensim-SC_OLD-054a9928a0a393e6e880c0a716714b9f009f6ede.zip opensim-SC_OLD-054a9928a0a393e6e880c0a716714b9f009f6ede.tar.gz opensim-SC_OLD-054a9928a0a393e6e880c0a716714b9f009f6ede.tar.bz2 opensim-SC_OLD-054a9928a0a393e6e880c0a716714b9f009f6ede.tar.xz |
Fix a bug I brought in by manually editing a diff file. Terrain is if cource not always at 20m.
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/MySQL/MySQLSimulationData.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/MySQL/MySQLSimulationData.cs b/OpenSim/Data/MySQL/MySQLSimulationData.cs index 2f471a0..41174f4 100644 --- a/OpenSim/Data/MySQL/MySQLSimulationData.cs +++ b/OpenSim/Data/MySQL/MySQLSimulationData.cs | |||
@@ -1512,7 +1512,7 @@ namespace OpenSim.Data.MySQL | |||
1512 | for (int x = 0; x < (int)Constants.RegionSize; x++) | 1512 | for (int x = 0; x < (int)Constants.RegionSize; x++) |
1513 | for (int y = 0; y < (int)Constants.RegionSize; y++) | 1513 | for (int y = 0; y < (int)Constants.RegionSize; y++) |
1514 | { | 1514 | { |
1515 | double height = 20.0; | 1515 | double height = val[x, y]; |
1516 | if (height == 0.0) | 1516 | if (height == 0.0) |
1517 | height = double.Epsilon; | 1517 | height = double.Epsilon; |
1518 | 1518 | ||