[gegl] vignette: increase parameter limits
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] vignette: increase parameter limits
- Date: Thu, 14 May 2020 21:50:35 +0000 (UTC)
commit 3256c6318befcbb6fac2d5ce74c1cc933b522937
Author: Ell <ell_se yahoo com>
Date: Thu May 14 21:34:36 2020 +0300
vignette: increase parameter limits
Don't use hard limits for the radius and gamma props (but keep the
existing UI limits). Arbitrary values are more likely when
controlling the op through an on-canvas controller.
operations/common/vignette.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/vignette.c b/operations/common/vignette.c
index 71d120917..b2d9436f2 100644
--- a/operations/common/vignette.c
+++ b/operations/common/vignette.c
@@ -39,7 +39,8 @@ property_color (color, _("Color"), "black")
property_double (radius, _("Radius"), 1.2)
description (_("How far out vignetting goes as portion of half image diagonal"))
- value_range (0.0, 3.0)
+ value_range (0.0, G_MAXDOUBLE)
+ ui_range (0.0, 3.0)
ui_meta ("unit", "relative-distance")
property_double (softness, _("Softness"), 0.8)
@@ -47,7 +48,8 @@ property_double (softness, _("Softness"), 0.8)
property_double (gamma, _("Gamma"), 2.0)
description (_("Falloff linearity"))
- value_range (0.0, 10.0)
+ value_range (0.0, G_MAXDOUBLE)
+ ui_range (0.0, 10.0)
property_double (proportion, _("Proportion"), 1.0)
description(_("How close we are to image proportions"))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]