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

@ -98,7 +98,7 @@
(set! mask-fat (car (gimp-channel-copy mask)))
(gimp-image-insert-channel img mask-fat -1 0)
(gimp-item-to-selection mask-fat 2)
(gimp-item-to-selection mask-fat CHANNEL-OP-REPLACE)
(gimp-context-set-brush (carve-brush brush-size))
(gimp-context-set-foreground '(255 255 255))
(gimp-edit-stroke mask-fat)
@ -110,10 +110,10 @@
(plug-in-emboss RUN-NONINTERACTIVE img mask-emboss 315.0 45.0 7 TRUE)
(gimp-context-set-background '(180 180 180))
(gimp-item-to-selection mask-fat 2)
(gimp-item-to-selection mask-fat CHANNEL-OP-REPLACE)
(gimp-selection-invert img)
(gimp-edit-fill mask-emboss BACKGROUND-FILL)
(gimp-item-to-selection mask 2)
(gimp-item-to-selection mask CHANNEL-OP-REPLACE)
(gimp-edit-fill mask-emboss BACKGROUND-FILL)
(gimp-selection-none img)
@ -144,7 +144,7 @@
(set! csl-mask (car (gimp-layer-create-mask cast-shadow-layer ADD-BLACK-MASK)))
(gimp-layer-add-mask cast-shadow-layer csl-mask)
(gimp-item-to-selection mask 2)
(gimp-item-to-selection mask CHANNEL-OP-REPLACE)
(gimp-context-set-background '(255 255 255))
(gimp-edit-fill csl-mask BACKGROUND-FILL)
@ -153,7 +153,7 @@
(set! il-mask (car (gimp-layer-create-mask inset-layer ADD-BLACK-MASK)))
(gimp-layer-add-mask inset-layer il-mask)
(gimp-item-to-selection mask 2)
(gimp-item-to-selection mask CHANNEL-OP-REPLACE)
(gimp-context-set-background '(255 255 255))
(gimp-edit-fill il-mask BACKGROUND-FILL)
(gimp-selection-none img)