mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-02-17 01:22:18 +00:00
Aligning textures on the X axis now works correctly with negative scale values when world panning is not enabled.
This commit is contained in:
parent
adf95c2566
commit
3f4a0a0e23
1 changed files with 1 additions and 1 deletions
|
@ -4286,7 +4286,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
|
|||
backwardoffset = j.offsetx;
|
||||
|
||||
if(!worldpanning)
|
||||
forwardoffset = (float)Math.Round((j.offsetx + (float)Math.Round(j.sidedef.Line.Length) / scalex * first.scaleX) % vwidth, General.Map.FormatInterface.VertexDecimals);
|
||||
forwardoffset = (float)Math.Round((j.offsetx + (float)Math.Round(j.sidedef.Line.Length) / scalex * Math.Abs(first.scaleX)) % vwidth, General.Map.FormatInterface.VertexDecimals);
|
||||
else
|
||||
forwardoffset = (float)Math.Round((j.offsetx + (float)Math.Round(j.sidedef.Line.Length)) % vwidth, General.Map.FormatInterface.VertexDecimals);
|
||||
|
||||
|
|
Loading…
Reference in a new issue