Commit d3ca13db authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

applied patch from LightningIsMyName. Changes the script to not break if

2008-08-23  Sven Neumann  <sven@gimp.org>

	* plug-ins/script-fu/scripts/coolmetal-logo.scm: applied patch
	from LightningIsMyName. Changes the script to not break if 
called
	on a floating selection (bug #327681).


svn path=/trunk/; revision=26728
parent d4fac257
2008-08-23 Sven Neumann <sven@gimp.org>
* plug-ins/script-fu/scripts/coolmetal-logo.scm: applied patch
from LightningIsMyName. Changes the script to not break if called
on a floating selection (bug #327681).
2008-08-23 Lars-Peter Clausen <lars@metafoo.de>
* app/core/gimpgradient.c (gimp_gradient_segment_range_delete):
......
......@@ -118,6 +118,14 @@
gradient-reverse)
(begin
(gimp-image-undo-group-start img)
(if (car (gimp-layer-is-floating-sel logo-layer))
(begin
(gimp-floating-sel-to-layer logo-layer)
(set! logo-layer (car (gimp-image-get-active-layer img)))
)
)
(apply-cool-metal-logo-effect img logo-layer size bg-color
gradient gradient-reverse)
(gimp-image-undo-group-end img)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment