Porting scripts to new API, marking layer names for translation

This commit is contained in:
Alexandre Prokoudine
2010-10-10 17:59:29 +04:00
parent 4d18135b46
commit 3abf6de944
4 changed files with 14 additions and 14 deletions

View File

@ -32,11 +32,11 @@
(while (> theNumber 0)
(set! theNumber (- theNumber 1))
(set! theStain (car (gimp-layer-new theImage theSize theSize
RGBA-IMAGE "Stain" 100
RGBA-IMAGE _"Stain" 100
(if (= inDark TRUE)
DARKEN-ONLY-MODE NORMAL-MODE))))
(gimp-image-add-layer theImage theStain 0)
(gimp-image-insert-layer theImage theStain -1 0)
(gimp-selection-all theImage)
(gimp-edit-clear theStain)