Cleanup of recent changes in porting scripts to new API. Marked layer names in carved-logo.scm for translation while at that

This commit is contained in:
Alexandre Prokoudine
2010-10-10 21:04:08 +04:00
parent 0a7e3f929f
commit fee17f8712
11 changed files with 34 additions and 34 deletions

View File

@ -58,7 +58,7 @@
(if (= (car (gimp-selection-is-empty image)) TRUE)
(begin
(gimp-item-to-selection drawable 2)
(gimp-item-to-selection drawable CHANNEL-OP-REPLACE)
(set! active-selection (car (gimp-selection-save image)))
(set! from-selection FALSE))
(begin
@ -85,7 +85,7 @@
(gimp-layer-set-offsets effect-layer select-offset-x select-offset-y)
(gimp-selection-none image)
(gimp-edit-clear effect-layer)
(gimp-item-to-selection active-selection 2)
(gimp-item-to-selection active-selection CHANNEL-OP-REPLACE)
(gimp-edit-copy drawable)
(let ((floating-sel (car (gimp-edit-paste effect-layer FALSE))))
@ -101,7 +101,7 @@
(gimp-context-set-foreground '(14 14 14))
)
(gimp-item-to-selection active-selection 2)
(gimp-item-to-selection active-selection CHANNEL-OP-REPLACE)
(plug-in-maze RUN-NONINTERACTIVE image active-layer 5 5 TRUE 0 seed 57 1)
(plug-in-oilify RUN-NONINTERACTIVE image active-layer mask-size 0)
(plug-in-edge RUN-NONINTERACTIVE image active-layer 2 1 0)