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:
@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user