diff --git a/ChangeLog b/ChangeLog index efcc6a7efd..6d650f78a2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-01 Sven Neumann + + * plug-ins/script-fu/scripts/tileblur.scm (script-fu-tile-blur): + push an undo group instead of disabling undo on the image. Fixes + bug #109681. + 2003-04-01 Sven Neumann * app/gui/toolbox-menu.c (toolbox_menu_entries): removed some diff --git a/plug-ins/script-fu/scripts/tileblur.scm b/plug-ins/script-fu/scripts/tileblur.scm index 233f218985..3bbf269d95 100644 --- a/plug-ins/script-fu/scripts/tileblur.scm +++ b/plug-ins/script-fu/scripts/tileblur.scm @@ -23,7 +23,7 @@ (set! theHeight (car (gimp-drawable-height theLayer))) (set! theWidth (car (gimp-drawable-width theLayer))) - (gimp-image-undo-disable theImage) + (gimp-undo-push-group-start theImage) (gimp-layer-resize theLayer (* 3 theWidth) (* 3 theHeight) 0 0) (gimp-rect-select theImage 0 0 theWidth theHeight REPLACE 0 0) @@ -44,7 +44,7 @@ (gimp-layer-resize theLayer theWidth theHeight (- 0 theWidth) (- 0 theHeight)) (gimp-layer-set-offsets theLayer 0 0) - (gimp-image-undo-enable theImage) + (gimp-undo-push-group-end theImage) (gimp-displays-flush) )