From 565dee5e0a48b5be1b199863eb94ca0625778703 Mon Sep 17 00:00:00 2001 From: Brian McBee Date: Mon, 6 Aug 2007 19:13:10 +0000 Subject: OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs One last array with X and Y flipped. Terrain load-tile should be working now. --- OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index e10c51b..64df525 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs @@ -628,7 +628,7 @@ namespace OpenSim.Region.Terrain int sectionToLoadX = ((this.offsetX - lowerboundX) * this.w); int sectionToLoadY = ((this.offsetY - lowerboundY) * this.h); - double[,] tempMap = new double[dimensionY, dimensionX]; + double[,] tempMap = new double[dimensionX, dimensionY]; FileInfo file = new FileInfo(filename); FileStream s = file.Open(FileMode.Open, FileAccess.Read); -- cgit v1.1