Line, SetLayerStyle, and an too-large X2 value

Report any Hollywood bugs here
Post Reply
Flinx
Posts: 358
Joined: Sun Feb 14, 2021 9:54 am
Location: Germany

Line, SetLayerStyle, and an too-large X2 value

Post by Flinx »

Due to a bug, I came across a combination of commands that causes SetLayerStyle to freeze (tested on Windows and Linux). While this is easy to fix, it’s not so easy to find in a larger program. Perhaps there’s a way to prevent this.

Code: Select all

@DISPLAY {Layers=True}
SetFormStyle(#ANTIALIAS)
Line(5, 67, 90, 67, #WHITE, {Name="L"})
SetLayerStyle("L", {X2=32772})
Ralf
Post Reply