OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Fix for terraforming: now works across the region, not just when x=y! Wahoo!afrisby
parent
e970ee2955
commit
bb60d87538
|
@ -162,7 +162,7 @@ namespace OpenSim.Region.Terrain
|
||||||
|
|
||||||
for (i = 0; i < w * h; i++)
|
for (i = 0; i < w * h; i++)
|
||||||
{
|
{
|
||||||
heights[i] = (float)heightmap.map[i / w, i % w];
|
heights[i] = (float)heightmap.map[i % w, i / w];
|
||||||
}
|
}
|
||||||
|
|
||||||
return heights;
|
return heights;
|
||||||
|
|
Loading…
Reference in New Issue