[gegl: 53/55] Noise-Slur fix random seed remove boolean choice
- From: Michael Murà <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl: 53/55] Noise-Slur fix random seed remove boolean choice
- Date: Wed, 29 Aug 2012 11:22:29 +0000 (UTC)
commit 6dc011b01759f123434eb756755ffae375926a1d
Author: Maxime Nicco <maxime nicco gmail fr>
Date: Tue Aug 28 14:02:41 2012 +0200
Noise-Slur fix random seed
remove boolean choice
operations/common/noise-slur.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/operations/common/noise-slur.c b/operations/common/noise-slur.c
index 0855784..98d1542 100644
--- a/operations/common/noise-slur.c
+++ b/operations/common/noise-slur.c
@@ -30,8 +30,6 @@
#ifdef GEGL_CHANT_PROPERTIES
-gegl_chant_boolean (random_seed, _("Random Seed "), FALSE, _("to get a random seed"))
-
gegl_chant_seed (seed, _("Seed"), _("Random seed"))
gegl_chant_double (pct_random, _("Randomization (%)"), 0.0, 100.0, 3.0, _("Radomization"))
@@ -87,10 +85,7 @@ process (GeglOperation *operation,
gint k, b, i;
gint total_pixels;
- if (o->random_seed)
- gr = g_rand_new();
- else
- gr = g_rand_new_with_seed (o->seed);
+ gr = g_rand_new_with_seed (o->seed);
tmp = gegl_buffer_new(result, babl_format ("RGBA float"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]