AddBoxToPath

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

AddBoxToPath

Post by Flinx »

While experimenting with anti-aliasing I found a way to trigger a crash in AddBoxToPath(). I have shortened it to the essential parts that cause the crash.
The loop runs up to 2.5. With step 0.01 it runs up to 0.5. With step 0.001 it runs to the end.
Tested on Windows.

Code: Select all

EnableLayers()
For i=0 To 10 Step 0.1
	DebugPrint(i)
	StartPath(1)
	MoveTo(1, 0, 0)
	;DebugPrint("vor AddBoxToPath")
	AddBoxToPath(1, 0, 0, i, 20)
	;DebugPrint("vor ClosePath")
	ClosePath(1)
	FreePath(1)
Next
Post Reply