OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs

One last array with X and Y flipped. Terrain load-tile should be working now.
afrisby
Brian McBee 2007-08-06 19:13:10 +00:00
parent 9abe102fc2
commit 565dee5e0a
1 changed files with 1 additions and 1 deletions

View File

@ -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);