GIMP 2.99 - plugin map-object script-fu what to fill in for unused parameters?

I want to use map-object to map to a cylinder.
So I do not need these options:
front-side ; box-front-drawable
back-side ; box-back-drawable
ebene-vs ; box-top-drawable
ebene-vs ; box-bottom-drawable
ebene-vs ; box-left-drawable
ebene-vs ; box-right-drawable

In the procedure browser it says we can set it to NULL if not needed.
If I put 0 there I get errors:

Error: Invalid ID of GIMP item (0 0 0 0 0 0 -1 -1 -1 2 3 0,35.0 0,05.0) 

So what’s the correct way to handle these?

From the example here, try using -1 instead: plug-ins/script-fu/scripts/spinning-globe.scm · master · GNOME / GIMP · GitLab

1 Like

In general, Python uses None for NULL values. So that is another option to try.

Strike that, for some reason I missed that it was about script-fu.

1 Like

Thank you.
That does indeed work.
(Should be corrected in the procedure browser.)

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.