[gegl] operations: next time I test before I push. I promise :P



commit 4a2a98e8574df17a8cfcbd52466b67ef76b79a96
Author: Michael Natterer <mitch gimp org>
Date:   Mon May 27 02:16:21 2013 +0200

    operations: next time I test before I push. I promise :P

 operations/common/shift.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/shift.c b/operations/common/shift.c
index 41d7524..bea7baa 100644
--- a/operations/common/shift.c
+++ b/operations/common/shift.c
@@ -133,7 +133,7 @@ process (GeglOperation       *operation,
 
           for (i = 0; i < array_size; i++)
             {
-              r = gegl_random_int_range (o->seed, x, 0, 0, 0, s, s + 1);
+              r = gegl_random_int_range (o->seed, i, 0, 0, 0, -s, s + 1);
               g_array_append_val (offsets, r);
             }
           o->chant_data = offsets;


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