diff options
author | Adam Frisby | 2007-07-21 22:20:22 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-21 22:20:22 +0000 |
commit | 4eb8ca49a901b09ce4bc3130f76f53b910391bbc (patch) | |
tree | a8bf71c7dee31f69a26e29e0708317429653fd7c /OpenSim/Region/Environment/LandManagement | |
parent | * Fixed an issue whereby extremely tall terrains would be unable to output a ... (diff) | |
download | opensim-SC_OLD-4eb8ca49a901b09ce4bc3130f76f53b910391bbc.zip opensim-SC_OLD-4eb8ca49a901b09ce4bc3130f76f53b910391bbc.tar.gz opensim-SC_OLD-4eb8ca49a901b09ce4bc3130f76f53b910391bbc.tar.bz2 opensim-SC_OLD-4eb8ca49a901b09ce4bc3130f76f53b910391bbc.tar.xz |
* Renamed terrain functions to match OpenSim naming styles.
* Added capability to support minimum/maximum terrain limits (from the last 'bake')
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/LandManagement/Land.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/Land.cs b/OpenSim/Region/Environment/LandManagement/Land.cs index b333f36..bae3b0e 100644 --- a/OpenSim/Region/Environment/LandManagement/Land.cs +++ b/OpenSim/Region/Environment/LandManagement/Land.cs | |||
@@ -219,8 +219,8 @@ namespace OpenSim.Region.Environment.LandManagement | |||
219 | } | 219 | } |
220 | } | 220 | } |
221 | } | 221 | } |
222 | landData.AABBMin = new LLVector3((float)(min_x * 4), (float)(min_y * 4), (float)m_world.Terrain.get((min_x * 4), (min_y * 4))); | 222 | landData.AABBMin = new LLVector3((float)(min_x * 4), (float)(min_y * 4), (float)m_world.Terrain.GetHeight((min_x * 4), (min_y * 4))); |
223 | landData.AABBMax = new LLVector3((float)(max_x * 4), (float)(max_y * 4), (float)m_world.Terrain.get((max_x * 4), (max_y * 4))); | 223 | landData.AABBMax = new LLVector3((float)(max_x * 4), (float)(max_y * 4), (float)m_world.Terrain.GetHeight((max_x * 4), (max_y * 4))); |
224 | landData.area = tempArea; | 224 | landData.area = tempArea; |
225 | } | 225 | } |
226 | 226 | ||