[Gimp-developer] script-fu problem in 2.6

Luis A. Florit gimpdevel at luisflorit.endjunk.com
Wed Dec 17 15:18:00 PST 2008


saulgoode at flashingtwelve.brickfilms.com wrote:

> > Perhaps we need to add gimp-layear-has-mask then. Until then you could
> > use gimp-plugin-set-pdb-error-handler to take over the error handling in
> > order to suppress the warning.
>
> I haven't been following this discussion that closely; however, I
> would point out that the PDB function 'gimp-layer-get-mask' will
> return "-1" if the layer does not have a mask.

Yes. I manage to use that in 2.4 (because some strange reason), but
the method does not work in 2.6. How would you make it work?

    Thanks,

        L.



More information about the Gimp-developer mailing list