mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
Fix for terraforming: now works across the region, not just when x=y! Wahoo!
This commit is contained in:
@@ -162,7 +162,7 @@ namespace OpenSim.Region.Terrain
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user