[Gimp-developer] script-fu problem in 2.6

saulgoode at flashingtwelve.brickfilms.com saulgoode at flashingtwelve.brickfilms.com
Tue Dec 16 16:34:34 PST 2008


Quoting Sven Neumann <sven at gimp.org>:

> 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.



More information about the Gimp-developer mailing list