[gegl] shadows-highlights, shadows-highlights-correction: Default to NOP
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] shadows-highlights, shadows-highlights-correction: Default to NOP
- Date: Fri, 5 Jan 2018 15:43:08 +0000 (UTC)
commit c2e06ad651ddbca3ab89b9c0c7e1dbb685399383
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Jan 5 16:38:32 2018 +0100
shadows-highlights, shadows-highlights-correction: Default to NOP
It is nicer for applications to have the operation start in its NOP
state as opposed to an arbitrary preset. This way an application
doesn't need to separately remember the NOP settings when bringing it
up for the first time.
.../common-gpl3+/shadows-highlights-correction.c | 4 ++--
operations/common-gpl3+/shadows-highlights.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/common-gpl3+/shadows-highlights-correction.c
b/operations/common-gpl3+/shadows-highlights-correction.c
index b65d499..8d4b42d 100644
--- a/operations/common-gpl3+/shadows-highlights-correction.c
+++ b/operations/common-gpl3+/shadows-highlights-correction.c
@@ -26,11 +26,11 @@
#ifdef GEGL_PROPERTIES
-property_double (shadows, _("Shadows"), 50.0)
+property_double (shadows, _("Shadows"), 0.0)
description (_("Adjust exposure of shadows"))
value_range (-100.0, 100.0)
-property_double (highlights, _("Highlights"), -50.0)
+property_double (highlights, _("Highlights"), 0.0)
description (_("Adjust exposure of highlights"))
value_range (-100.0, 100.0)
diff --git a/operations/common-gpl3+/shadows-highlights.c b/operations/common-gpl3+/shadows-highlights.c
index 7abb385..e4538ba 100644
--- a/operations/common-gpl3+/shadows-highlights.c
+++ b/operations/common-gpl3+/shadows-highlights.c
@@ -25,11 +25,11 @@
#ifdef GEGL_PROPERTIES
-property_double (shadows, _("Shadows"), 50.0)
+property_double (shadows, _("Shadows"), 0.0)
description (_("Adjust exposure of shadows"))
value_range (-100.0, 100.0)
-property_double (highlights, _("Highlights"), -50.0)
+property_double (highlights, _("Highlights"), 0.0)
description (_("Adjust exposure of highlights"))
value_range (-100.0, 100.0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]