From 9e97aa20b4f022ff864d4b5218da89ac75e5cdb2 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Wed, 1 Aug 2007 23:12:59 +0000 Subject: * Fixed Issue#249 - Terrain reverting without baking crashes the simulator. --- OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index 0593077..7f60ae2 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs @@ -102,6 +102,7 @@ namespace OpenSim.Region.Terrain w = 256; h = 256; heightmap = new Channel(w, h); + revertmap = new Channel(w, h); offsetX = X; offsetY = Y; -- cgit v1.1