[Gimp-developer] script-fu problem in 2.6

Sven Neumann sven at gimp.org
Sat Dec 20 11:17:05 PST 2008


Hi,

On Tue, 2008-12-16 at 19:34 -0500,
saulgoode at flashingtwelve.brickfilms.com wrote:
> 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.

Right, that should actually be sufficient. I don't think we need to add
additional API then.


Sven




More information about the Gimp-developer mailing list