[gegl: 54/55] Noise-Pick fix random seed remove boolean choice
- From: Michael Murà <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl: 54/55] Noise-Pick fix random seed remove boolean choice
- Date: Wed, 29 Aug 2012 11:22:34 +0000 (UTC)
commit 64725e46e739533460fec7d8b1dd298b1c8c6a75
Author: Maxime Nicco <maxime nicco gmail fr>
Date: Tue Aug 28 14:03:14 2012 +0200
Noise-Pick fix random seed
remove boolean choice
operations/common/noise-pick.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/operations/common/noise-pick.c b/operations/common/noise-pick.c
index d0772f7..2fb028a 100644
--- a/operations/common/noise-pick.c
+++ b/operations/common/noise-pick.c
@@ -27,8 +27,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"))
@@ -84,10 +82,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]