I would like to create a python-fu script for gimp where the user could select two layers.
register(
(....)
[
(PF_IMAGE, "image", "Input image", None),
(PF_DRAWABLE, "layermask", "MASK:", None),
(PF_LAYER, "drawinglayer", "DRAWING:", None),
(PF_INT, "treshold", "TRESHOLD:", 1)
],
(...)
whenever I try this, my form contains only one choice (I suppose it uses the default layer ?) .
How can I get two 'select' controls ? I've tried to change PF_DRAWABLE to PF_LAYER but I still get the same result.