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
This commit is contained in:

committed by
Sven Neumann

parent
d4fac257aa
commit
d3ca13db06
@ -1,3 +1,9 @@
|
||||
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)
|
||||
|
Reference in New Issue
Block a user