aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/LandManagement/Land.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-03-06 15:49:53 +0000
committerAdam Frisby2008-03-06 15:49:53 +0000
commita3601165029f8484988b5c322798a341ff1e9400 (patch)
tree4b761e7d0694dffb0b67018915fc240e7bbaa154 /OpenSim/Region/Environment/LandManagement/Land.cs
parent* Killed 4 more warnings (at 16 now) (diff)
downloadopensim-SC_OLD-a3601165029f8484988b5c322798a341ff1e9400.zip
opensim-SC_OLD-a3601165029f8484988b5c322798a341ff1e9400.tar.gz
opensim-SC_OLD-a3601165029f8484988b5c322798a341ff1e9400.tar.bz2
opensim-SC_OLD-a3601165029f8484988b5c322798a341ff1e9400.tar.xz
* Disabled ancient TerrainEngine.
* Enabled new TerrainModule. (The king is dead, long live the king!) * Use the console command: "script terrain save file.r32" / "script terrain load file.r32" to load/save terrain. Now uses the extension to determine file format. * MANY of the old terrain features do not have a replacement function in the new module yet, this needs to be corrected, but has not been done so far. This being said, the new module is faster and more efficient and should be a good replacement.
Diffstat (limited to 'OpenSim/Region/Environment/LandManagement/Land.cs')
-rw-r--r--OpenSim/Region/Environment/LandManagement/Land.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/LandManagement/Land.cs b/OpenSim/Region/Environment/LandManagement/Land.cs
index 1c4697c..4c6168d 100644
--- a/OpenSim/Region/Environment/LandManagement/Land.cs
+++ b/OpenSim/Region/Environment/LandManagement/Land.cs
@@ -440,11 +440,11 @@ namespace OpenSim.Region.Environment.LandManagement
440 } 440 }
441 } 441 }
442 landData.AABBMin = 442 landData.AABBMin =
443 new LLVector3((float) (min_x*4), (float) (min_y*4), 443 new LLVector3((float)(min_x * 4), (float)(min_y * 4),
444 (float) m_scene.Terrain.GetHeight((min_x*4), (min_y*4))); 444 (float)m_scene.Heightmap[(min_x * 4), (min_y * 4)]);
445 landData.AABBMax = 445 landData.AABBMax =
446 new LLVector3((float) (max_x*4), (float) (max_y*4), 446 new LLVector3((float)(max_x * 4), (float)(max_y * 4),
447 (float) m_scene.Terrain.GetHeight((max_x*4), (max_y*4))); 447 (float)m_scene.Heightmap[(max_x * 4), (max_y * 4)]);
448 landData.area = tempArea; 448 landData.area = tempArea;
449 } 449 }
450 450