script-fu: port all scripts to the new gimp-drawable-edit functions

This commit is contained in:
Michael Natterer
2018-04-16 20:12:12 +02:00
parent 90ef8b123c
commit 233ac80de1
27 changed files with 161 additions and 128 deletions

View File

@ -96,6 +96,8 @@
)
(gimp-context-push)
(gimp-context-set-paint-mode LAYER-MODE-NORMAL)
(gimp-context-set-opacity 100.0)
(gimp-context-set-feather FALSE)
(gimp-image-undo-disable image)
@ -202,7 +204,7 @@
)
(gimp-context-set-foreground '(0 0 0))
(gimp-edit-fill film-mask FILL-BACKGROUND)
(gimp-drawable-edit-fill film-mask FILL-BACKGROUND)
(gimp-selection-none image)
(plug-in-gauss-rle RUN-NONINTERACTIVE image film-mask hole-radius TRUE TRUE)
(gimp-threshold film-mask 127 255)