[gegl] aoperations/common/noise-reduction: Allow 0 iterations
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] aoperations/common/noise-reduction: Allow 0 iterations
- Date: Tue, 10 Nov 2015 15:11:50 +0000 (UTC)
commit 08aefb625836db58a86926b99f86149650cd9cd6
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Nov 10 15:15:16 2015 +0100
aoperations/common/noise-reduction: Allow 0 iterations
It's convenient to be able to use iterations=0 to turn it into a no-op.
operations/common/noise-reduction.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/noise-reduction.c b/operations/common/noise-reduction.c
index 06dfb5a..5ed5b6d 100644
--- a/operations/common/noise-reduction.c
+++ b/operations/common/noise-reduction.c
@@ -25,8 +25,8 @@
property_int (iterations, _("Strength"), 4)
description (_("Controls the number of iterations; lower values give less plastic results"))
- value_range (1, 32)
- ui_range (1, 8)
+ value_range (0, 32)
+ ui_range (0, 8)
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]