diff --git a/ChangeLog b/ChangeLog index d27b703bc0..ea36d0b5db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-12-16 Bill Skaggs + + * plug-ins/script-fu/scripts/circuit.scm: don't try to + desaturate a grayscale layer, fixes bug #161470. + 2004-12-16 Sven Neumann * app/config/gimpconfig-dump.c diff --git a/plug-ins/script-fu/scripts/circuit.scm b/plug-ins/script-fu/scripts/circuit.scm index b1a0c1bd5f..29e44e252b 100644 --- a/plug-ins/script-fu/scripts/circuit.scm +++ b/plug-ins/script-fu/scripts/circuit.scm @@ -96,7 +96,8 @@ (plug-in-maze 1 image active-layer 5 5 TRUE 0 seed 57 1) (plug-in-oilify 1 image active-layer mask-size 0) (plug-in-edge 1 image active-layer 2 1 0) - (gimp-desaturate active-layer) + (if (= type RGBA-IMAGE) + (gimp-desaturate active-layer)) (if (and (= remove-bg TRUE)