2024-11-22 12:56 PM - last edited on 2024-11-22 01:58 PM by Barry Kelly
I wanted to simplify the handy object and use an array of pens instead of separate pen parameters. Unfortunately, such an array allows you to manually enter a pen 0, but does not accept a pen -1.
😕😕😕
a month ago
I guess this is a limitation of GDL. When the Pen parameter is a single parameter, the 0 and -1 values are available, but when you make it an Array Parameter, they are no longer available. I guess there must be some technical reason behind this. I wonder if @Peter Baksa can shed some light on this for us.
4 weeks ago
Funnily enough you can use "values "pen2x2" range[-1,255]" to make -1 and 0 available – but they will be at the beginning of the list! (so the whole pens are shuffled.... not a good workaround imho).
Other workaround is to program a GUI. With ui_infield{3} it works fine (-1 and 0 are available).
I'd say it is a bug that should get fixed.
4 weeks ago - last edited 4 weeks ago
I came across this "bug" because I simply didn't want to do GUI;
I think GS will fix it someday, after all it's just an INTEGER