[Gimp-user] Script-fu plugin

saulgoode at flashingtwelve.brickfilms.com saulgoode at flashingtwelve.brickfilms.com
Sun Sep 28 14:41:40 PDT 2008


Quoting Adonj Adonj <adonj at hotmail.com>:

> I wondered if you knew of a script that would also APPLY the copied   
> layers as you mention.

Edit the script to add the following code:

     (set! layers (visible-layers image))
     (while (pair? layers)
       (gimp-layer-remove-mask (car layers) MASK-APPLY)
       (set! layers (cdr layers)))

Just before the line:

   (gimp-image-remove-layer image source-layer)





More information about the Gimp-user mailing list