removed the image argument from functions that no longer need it.
* plug-ins/script-fu/scripts/*: removed the image
argument from functions that no longer need it.
This commit is contained in:
@ -66,21 +66,21 @@
|
||||
; Create pattern layer
|
||||
|
||||
(gimp-palette-set-background '(0 0 0))
|
||||
(gimp-edit-fill img background)
|
||||
(gimp-edit-fill background)
|
||||
(gimp-patterns-set-pattern pattern)
|
||||
(gimp-bucket-fill img background PATTERN-BUCKET-FILL NORMAL 100 0 FALSE 0 0)
|
||||
(gimp-bucket-fill background PATTERN-BUCKET-FILL NORMAL 100 0 FALSE 0 0)
|
||||
|
||||
; Create bumpmap layer
|
||||
|
||||
(gimp-edit-fill img bumpmap)
|
||||
(gimp-edit-fill bumpmap)
|
||||
|
||||
(gimp-palette-set-background '(127 127 127))
|
||||
(gimp-rect-select img 1 1 (- width 2) (- height 2) REPLACE FALSE 0)
|
||||
(gimp-edit-fill img bumpmap)
|
||||
(gimp-edit-fill bumpmap)
|
||||
|
||||
(gimp-palette-set-background '(255 255 255))
|
||||
(gimp-rect-select img 2 2 (- width 4) (- height 4) REPLACE FALSE 0)
|
||||
(gimp-edit-fill img bumpmap)
|
||||
(gimp-edit-fill bumpmap)
|
||||
|
||||
(gimp-selection-none img)
|
||||
|
||||
@ -92,7 +92,7 @@
|
||||
|
||||
(gimp-palette-set-background text-color)
|
||||
(gimp-layer-set-preserve-trans textl TRUE)
|
||||
(gimp-edit-fill img textl)
|
||||
(gimp-edit-fill textl)
|
||||
|
||||
(gimp-layer-set-offsets textl
|
||||
xpadding
|
||||
|
||||
Reference in New Issue
Block a user