[gimp] distress-select.scm: Limit threshold to 1-254 to avoid loss of selection Fixes bug #595828.



commit e5f6a6d9eab26fb659d8132ee21b468a8d10ed12
Author: Kevin Cozens <kcozens svn gnome org>
Date:   Wed Nov 9 15:44:25 2011 -0500

    distress-select.scm: Limit threshold to 1-254 to avoid loss of selection
    Fixes bug #595828.

 plug-ins/script-fu/scripts/distress-selection.scm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/script-fu/scripts/distress-selection.scm b/plug-ins/script-fu/scripts/distress-selection.scm
index b2faa33..e2e19dc 100644
--- a/plug-ins/script-fu/scripts/distress-selection.scm
+++ b/plug-ins/script-fu/scripts/distress-selection.scm
@@ -107,7 +107,7 @@
   "RGB*,GRAY*"
   SF-IMAGE       "The image"              0
   SF-DRAWABLE    "The layer"              0
-  SF-ADJUSTMENT _"Threshold (bigger 1<-->255 smaller)" '(127 1 255 1 10 0 0)
+  SF-ADJUSTMENT _"Threshold (bigger 1<-->254 smaller)" '(127 1 254 1 10 0 0)
   SF-ADJUSTMENT _"Spread"                 '(8 0 1000 1 10 0 1)
   SF-ADJUSTMENT _"Granularity (1 is low)" '(4 1 25 1 10 0 1)
   SF-ADJUSTMENT _"Smooth"                 '(2 1 150 1 10 0 1)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]