mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-31 04:40:55 +00:00
Renderer2D.PlotLine now transforms the y coordinate so that linedefs in nodes viewer, automap/sound environment/sound propagation mode are not flipped upside down anymore. Fixes #325.
This commit is contained in:
parent
d559ba30d7
commit
33b888e5d2
1 changed files with 1 additions and 1 deletions
|
@ -2032,7 +2032,7 @@ namespace CodeImp.DoomBuilder.Rendering
|
|||
if((v2 - v1).GetLengthSq() < linenormalsize * lengthscaler) return;
|
||||
|
||||
// Draw line
|
||||
plotter.DrawLineSolid((int)v1.x, (int)v1.y, (int)v2.x, (int)v2.y, ref c);
|
||||
plotter.DrawLineSolid((int)v1.x, TransformY((int)v1.y), (int)v2.x, TransformY((int)v2.y), ref c);
|
||||
}
|
||||
|
||||
private Vector2D TransformY(Vector2D v)
|
||||
|
|
Loading…
Reference in a new issue