When experimenting with vector objects that adapt to the window size, I found a crash in PathToBrush() when AddBoxToPath() is called with bad values.
Of course you can catch the problematic numbers before, but first you have to find the critical command, so it's worth a bugfix I think.
Tested only with Windows 10, 64 Bit.
Ralf
Code: Select all
StartPath(1)
MoveTo(1, 0, 0)
AddBoxToPath(1, 0, 0, 40, 0.9, {RoundLevel=1})
ClosePath(1)
id=PathToBrush(Nil, {{ID=1, Color=#WHITE}})
DisplayBrush(id, 50, 60)
Wait(250)