diff --git a/plug-ins/script-fu/scripts/distress-selection.scm b/plug-ins/script-fu/scripts/distress-selection.scm index 845e724b2b..2122a81cca 100644 --- a/plug-ins/script-fu/scripts/distress-selection.scm +++ b/plug-ins/script-fu/scripts/distress-selection.scm @@ -84,7 +84,7 @@ (plug-in-gauss-iir RUN-NONINTERACTIVE theImage theLayer inSmooth inSmoothH inSmoothV) (gimp-layer-scale theLayer theWidth theHeight TRUE) - (plug-in-threshold-alpha RUN-NONINTERACTIVE theImage theLayer inThreshold) + (plug-in-threshold-alpha RUN-NONINTERACTIVE theImage theLayer (* inThreshold 255)) (plug-in-gauss-iir RUN-NONINTERACTIVE theImage theLayer 1 TRUE TRUE) (gimp-image-select-item inImage CHANNEL-OP-REPLACE theLayer) (gimp-image-remove-layer theImage theLayer) @@ -110,7 +110,7 @@ "23rd April 1998" "RGB*,GRAY*" SF-ONE-OR-MORE-DRAWABLE - SF-ADJUSTMENT _"_Threshold (bigger 1<-->254 smaller)" '(127 1 254 1 10 0 0) + SF-ADJUSTMENT _"_Threshold" '(0.5 0 1 0.1 0.2 1 0) SF-ADJUSTMENT _"_Spread" '(8 0 512 1 10 0 1) SF-ADJUSTMENT _"_Granularity (1 is low)" '(4 1 25 1 10 0 1) SF-ADJUSTMENT _"S_mooth" '(2 1 150 1 10 0 1)