Hi, On Tue, 2008-12-16 at 19:34 -0500, saulgo...@flashingtwelve.brickfilms.com wrote: > Quoting Sven Neumann <s...@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.
Right, that should actually be sufficient. I don't think we need to add additional API then. Sven _______________________________________________ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer