Merge pull request #8650 from pchote/editor-overlay
Render the terrain geometry over all visible terrain.
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
var colors = wr.World.TileSet.HeightDebugColors;
|
||||
var mouseCell = wr.Viewport.ViewToWorld(Viewport.LastMousePos).ToMPos(wr.World.Map);
|
||||
|
||||
foreach (var uv in wr.Viewport.VisibleCellsInsideBounds.MapCoords)
|
||||
foreach (var uv in wr.Viewport.AllVisibleCells.MapCoords)
|
||||
{
|
||||
var height = (int)map.MapHeight.Value[uv];
|
||||
var tile = map.MapTiles.Value[uv];
|
||||
|
||||
Reference in New Issue
Block a user