Re: script-fu problem in 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > > 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?
>
> (unless (= (car (gimp-layer-get-mask SharpenLayer)) -1)
>    (gimp-layer-remove-mask SharpenLayer MASK-APPLY)
>    )

Thanks!!

    L.

_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux