API PATCH #2 or so
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
(old-fg-color (car (gimp-palette-get-foreground)))
|
||||
(old-bg-color (car (gimp-palette-get-background))))
|
||||
|
||||
(gimp-image-disable-undo img)
|
||||
(gimp-image-undo-disable img)
|
||||
(gimp-image-add-layer img drawable 0)
|
||||
|
||||
; Render checkerboard
|
||||
@ -74,7 +74,7 @@
|
||||
(gimp-selection-none img)
|
||||
(gimp-palette-set-foreground old-fg-color)
|
||||
(gimp-palette-set-background old-bg-color)
|
||||
(gimp-image-enable-undo img)
|
||||
(gimp-image-undo-enable img)
|
||||
(gimp-display-new img)))
|
||||
|
||||
(script-fu-register "script-fu-swirly-pattern"
|
||||
|
||||
Reference in New Issue
Block a user