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

@ -69,14 +69,14 @@
(gimp-selection-none image)
(gimp-edit-clear hl-layer)
(gimp-item-to-selection active-selection 2)
(gimp-item-to-selection active-selection CHANNEL-OP-REPLACE)
(gimp-context-set-background hl-color)
(gimp-edit-fill hl-layer BACKGROUND-FILL)
(gimp-selection-translate image hl-offset-x hl-offset-y)
(gimp-edit-fill hl-layer BACKGROUND-FILL)
(gimp-selection-none image)
(gimp-item-to-selection active-selection 2)
(gimp-item-to-selection active-selection CHANNEL-OP-REPLACE)
(set! mask (car (gimp-layer-create-mask hl-layer ADD-WHITE-MASK)))
(gimp-layer-add-mask hl-layer mask)
@ -94,13 +94,13 @@
(gimp-image-insert-layer image shadow-layer -1 -1)
(gimp-selection-none image)
(gimp-edit-clear shadow-layer)
(gimp-item-to-selection active-selection 2)
(gimp-item-to-selection active-selection CHANNEL-OP-REPLACE)
(gimp-selection-translate image ds-offset-x ds-offset-y)
(gimp-context-set-background ds-color)
(gimp-edit-fill shadow-layer BACKGROUND-FILL)
(gimp-selection-none image)
(plug-in-gauss-rle RUN-NONINTERACTIVE image shadow-layer ds-blur TRUE TRUE)
(gimp-item-to-selection active-selection 2)
(gimp-item-to-selection active-selection CHANNEL-OP-REPLACE)
(gimp-edit-clear shadow-layer)
(gimp-image-lower-item image shadow-layer)