[gegl] operations: allow a radius of zero in edge-neon



commit bfb15e7888e28c8e446a8246cca96203af5d4400
Author: Michael Natterer <mitch gimp org>
Date:   Sun Jul 14 00:10:27 2019 +0200

    operations: allow a radius of zero in edge-neon
    
    because it does "useful" things for any value larger than zero.

 operations/common/edge-neon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/edge-neon.c b/operations/common/edge-neon.c
index 4c8fe77e3..52f3be5cd 100644
--- a/operations/common/edge-neon.c
+++ b/operations/common/edge-neon.c
@@ -47,9 +47,9 @@
 
 property_double (radius, _("Radius"), 5.0)
    description (_("Radius of effect (in pixels)"))
-   value_range (1, 1500.0)
+   value_range (0.0, 1500.0)
    ui_gamma    (2.0)
-   ui_range    (1, 50.0)
+   ui_range    (0.0, 50.0)
    ui_meta     ("unit", "pixel-distance")
 
 


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