[gegl] operations: allow opacity in the dropshadow op to be > 1



commit 00bbe08e3c33198a75f4008001250623b49136a6
Author: Michael Henning <drawoc darkrefraction com>
Date:   Sun Mar 31 20:13:07 2013 -0400

    operations: allow opacity in the dropshadow op to be > 1
    
    Partial revert of 807dd4fbb88954aee1578080fcc820b709cc1d39

 operations/common/dropshadow.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/dropshadow.c b/operations/common/dropshadow.c
index 893e1b6..321ba2b 100644
--- a/operations/common/dropshadow.c
+++ b/operations/common/dropshadow.c
@@ -22,7 +22,8 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_double (opacity, _("Opacity"), 0, 1.0, 0.5, _("Opacity"))
+/* It does make sense to sometimes have opacities > 1 (see GEGL logo for example) */
+gegl_chant_double (opacity, _("Opacity"), 0.0, 2.0, 0.5, _("Opacity"))
 gegl_chant_double_ui (x, _("X"), -G_MAXDOUBLE, G_MAXDOUBLE, 20.0, -20.0, 20.0, 1.0,
                    _("Horizontal shadow offset"))
 gegl_chant_double_ui (y, _("Y"), -G_MAXDOUBLE, G_MAXDOUBLE, 20.0, -20.0, 20.0, 1.0,


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