Porting scripts to new API, marking layer names for translation

This commit is contained in:
Alexandre Prokoudine
2010-10-10 03:52:15 +04:00
parent e1a705c125
commit 0a4657ae9f
6 changed files with 27 additions and 27 deletions

View File

@ -24,17 +24,17 @@
(img (car (gimp-image-new width height RGB)))
(background (car (gimp-layer-new img
width height RGB-IMAGE
"Hrule" 100 NORMAL-MODE)))
_"Hrule" 100 NORMAL-MODE)))
(bumpmap (car (gimp-layer-new img
width height RGBA-IMAGE
"Bumpmap" 100 NORMAL-MODE)))
_"Bumpmap" 100 NORMAL-MODE)))
)
(gimp-context-push)
(gimp-image-undo-disable img)
(gimp-image-add-layer img background -1)
(gimp-image-add-layer img bumpmap -1)
(gimp-image-insert-layer img background -1 -1)
(gimp-image-insert-layer img bumpmap -1 -1)
; Create pattern layer