replaced undo-disable/enable by undo-group-start/end.
2004-11-11 Michael Natterer <mitch@gimp.org> * plug-ins/script-fu/scripts/lava.scm: replaced undo-disable/enable by undo-group-start/end.
This commit is contained in:
committed by
Michael Natterer
parent
cd7972a8c2
commit
b08cf17353
@ -39,7 +39,7 @@
|
||||
|
||||
(gimp-context-push)
|
||||
|
||||
(gimp-image-undo-disable image)
|
||||
(gimp-image-undo-group-start image)
|
||||
(gimp-layer-add-alpha drawable)
|
||||
|
||||
(if (= (car (gimp-selection-is-empty image)) TRUE)
|
||||
@ -92,7 +92,7 @@
|
||||
|
||||
(gimp-image-set-active-layer image drawable)
|
||||
(gimp-image-remove-channel image active-selection)
|
||||
(gimp-image-undo-enable image)
|
||||
(gimp-image-undo-group-end image)
|
||||
(gimp-displays-flush)
|
||||
|
||||
(gimp-context-pop)))
|
||||
|
||||
Reference in New Issue
Block a user