[gegl] fractal-trace: set a ui_range for bailout property



commit 6a15461490555425f68346570d705108481d721a
Author: Øyvind Kolås <pippin gimp org>
Date:   Tue Dec 26 23:46:39 2017 +0100

    fractal-trace: set a ui_range for bailout property
    
    Also set a new default value of 10000.0 which does not screw up GIMPs scale
    widget rendering containing the set number,. G_MAXDOUBLE garbles the scale
    widget almost completely.

 operations/common-gpl3+/fractal-trace.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/operations/common-gpl3+/fractal-trace.c b/operations/common-gpl3+/fractal-trace.c
index 8190661..e486479 100644
--- a/operations/common-gpl3+/fractal-trace.c
+++ b/operations/common-gpl3+/fractal-trace.c
@@ -60,8 +60,9 @@ property_double (JY, _("JY"), 0.5)
 property_int    (depth, _("Depth"), 3)
   value_range   (1, 65536)
 
-property_double (bailout, _("Bailout length"), G_MAXDOUBLE)
+property_double (bailout, _("Bailout length"), 10000.0)
   value_range   (0.0, G_MAXDOUBLE)
+  ui_range      (0.0, 10000.0)
 
 property_enum   (abyss_policy, _("Abyss policy"),
                    GeglAbyssPolicy, gegl_abyss_policy, GEGL_ABYSS_LOOP)


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