[gegl] operations/workshop/shadows-highlights: Fix the upper limit of "radius"



commit ed599ff158ec8ed4339c8888e1eaf7a989b69c2c
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Oct 24 10:30:19 2017 +0200

    operations/workshop/shadows-highlights: Fix the upper limit of "radius"
    
    The "radius" property is bound to the standard deviation properties of
    gegl:gaussian-blur, whose upper limits are 1500.0. Therefore, the same
    restriction should be imposed on "radius" too.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=789388

 operations/workshop/shadows-highlights.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/workshop/shadows-highlights.c b/operations/workshop/shadows-highlights.c
index 67e2b48..5ca5f72 100644
--- a/operations/workshop/shadows-highlights.c
+++ b/operations/workshop/shadows-highlights.c
@@ -35,7 +35,7 @@ property_double (whitepoint, _("White point adjustment"), 0.0)
     value_range (-10.0, 10.0)
 
 property_double (radius, _("Radius"), 100.0)
-    value_range (0.1, G_MAXDOUBLE)
+    value_range (0.1, 1500.0)
     ui_range    (0.1, 200.0)
 
 property_double (compress, _("Compress"), 50.0)


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