plug-ins/script-fu/scripts/add-bevel.scm

2004-11-11  Michael Natterer  <mitch@gimp.org>

	* plug-ins/script-fu/scripts/add-bevel.scm
	* plug-ins/script-fu/scripts/addborder.scm
	* plug-ins/script-fu/scripts/carve-it.scm
	* plug-ins/script-fu/scripts/carved-logo.scm
	* plug-ins/script-fu/scripts/chip-away.scm
	* plug-ins/script-fu/scripts/clothify.scm
	* plug-ins/script-fu/scripts/font-map.scm
	* plug-ins/script-fu/scripts/slide.scm
	* plug-ins/script-fu/scripts/swirltile.scm: don't call gimp-edit-*
	functions on drawables which are not added to an image because
	this will be forbidden soon (because it can trash the image's undo
	stack).
This commit is contained in:
Michael Natterer
2004-11-11 13:59:18 +00:00
committed by Michael Natterer
parent b08cf17353
commit 5f2ca28c69
10 changed files with 48 additions and 27 deletions

View File

@ -111,7 +111,10 @@
(gimp-context-push)
(gimp-image-undo-group-start img)
(gimp-drawable-fill layer TRANSPARENT-FILL)
(gimp-image-add-layer img layer 0)
(gimp-image-resize img
width
height
@ -156,7 +159,6 @@
(gimp-edit-fill layer BACKGROUND-FILL)
(gimp-selection-none img)
(gimp-image-add-layer img layer 0)
(gimp-image-undo-group-end img)
(gimp-displays-flush)