OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
One last array with X and Y flipped. Terrain load-tile should be working now.afrisby
parent
9abe102fc2
commit
565dee5e0a
|
@ -628,7 +628,7 @@ namespace OpenSim.Region.Terrain
|
||||||
int sectionToLoadX = ((this.offsetX - lowerboundX) * this.w);
|
int sectionToLoadX = ((this.offsetX - lowerboundX) * this.w);
|
||||||
int sectionToLoadY = ((this.offsetY - lowerboundY) * this.h);
|
int sectionToLoadY = ((this.offsetY - lowerboundY) * this.h);
|
||||||
|
|
||||||
double[,] tempMap = new double[dimensionY, dimensionX];
|
double[,] tempMap = new double[dimensionX, dimensionY];
|
||||||
|
|
||||||
FileInfo file = new FileInfo(filename);
|
FileInfo file = new FileInfo(filename);
|
||||||
FileStream s = file.Open(FileMode.Open, FileAccess.Read);
|
FileStream s = file.Open(FileMode.Open, FileAccess.Read);
|
||||||
|
|
Loading…
Reference in New Issue