[gnome-photos] tool-enhance: Use 1.0, not 0.5, as the denoise step



commit 3301463597b90a5c13790921e102c0ee9bfb6919
Author: Umang Jain <mailumangjain gmail com>
Date:   Sat Feb 13 04:00:13 2016 +0530

    tool-enhance: Use 1.0, not 0.5, as the denoise step
    
    Since gegl:noise-reduction's iterations property is an integer, it
    doesn't make sense to have a non-integer step for the slider.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=759155

 src/photos-tool-enhance.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-tool-enhance.c b/src/photos-tool-enhance.c
index 681d1cd..c85320d 100644
--- a/src/photos-tool-enhance.c
+++ b/src/photos-tool-enhance.c
@@ -61,7 +61,7 @@ G_DEFINE_TYPE_WITH_CODE (PhotosToolEnhance, photos_tool_enhance, PHOTOS_TYPE_TOO
 static const gdouble DENOISE_ITERATIONS_DEFAULT = 0.0;
 static const gdouble DENOISE_ITERATIONS_MAXIMUM = 8.0;
 static const gdouble DENOISE_ITERATIONS_MINIMUM = 0.0;
-static const gdouble DENOISE_ITERATIONS_STEP = 0.5;
+static const gdouble DENOISE_ITERATIONS_STEP = 1.0;
 static const gdouble SHARPEN_SCALE_DEFAULT = 0.0;
 static const gdouble SHARPEN_SCALE_MAXIMUM = 10.0;
 static const gdouble SHARPEN_SCALE_MINIMUM = 0.0;


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