[gegl] operations: even more cleanup in noise-slur, make default random 50%
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] operations: even more cleanup in noise-slur, make default random 50%
- Date: Thu, 7 Mar 2013 23:38:09 +0000 (UTC)
commit 450b0e233f5602266932cd9606d798936a0883ae
Author: Michael Natterer <mitch gimp org>
Date: Fri Mar 8 00:34:04 2013 +0100
operations: even more cleanup in noise-slur, make default random 50%
operations/common/noise-slur.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/operations/common/noise-slur.c b/operations/common/noise-slur.c
index a9d8c7f..f9a94b1 100644
--- a/operations/common/noise-slur.c
+++ b/operations/common/noise-slur.c
@@ -34,7 +34,7 @@
gegl_chant_seed (seed, _("Seed"), _("Random seed"))
gegl_chant_double (pct_random, _("Randomization (%)"),
- 0.0, 100.0, 3.0, _("Randomization"))
+ 0.0, 100.0, 50.0, _("Randomization"))
gegl_chant_int (repeat, _("Repeat"),
1, 100, 1, _("Repeat"))
@@ -153,9 +153,9 @@ process (GeglOperation *operation,
out_pixel += 4;
x++;
- if (x>=result->x + result->width)
+ if (x >= result->x + result->width)
{
- x=result->x;
+ x = result->x;
y++;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]