From a3601165029f8484988b5c322798a341ff1e9400 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 6 Mar 2008 15:49:53 +0000 Subject: * 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. --- OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'OpenSim/Region/Examples') diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index 66727d9..ef0d4d0 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs @@ -54,15 +54,7 @@ namespace SimpleApp public override void LoadWorldMap() { - float[] map = new float[65536]; - for (int i = 0; i < 65536; i++) - { - map[i] = 25f; - } - - Terrain.GetHeights1D(map); - CreateTerrainTexture(true); } public override void AddNewClient(IClientAPI client, bool child) -- cgit v1.1