[gegl] warp: set the range for the strength to 1-->100



commit 5bceea19ed4232e55c5c81456fa3b27576063f7b
Author: Michael Murà <batolettre gmail com>
Date:   Tue Aug 2 21:54:47 2011 +0200

    warp: set the range for the strength to 1-->100

 operations/workshop/warp.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/workshop/warp.c b/operations/workshop/warp.c
index a119238..b6161e9 100644
--- a/operations/workshop/warp.c
+++ b/operations/workshop/warp.c
@@ -23,7 +23,7 @@
 
 #ifdef GEGL_CHANT_PROPERTIES
 
-gegl_chant_double (strength, _("Strength"), 0.0, 100.0, 1.0,
+gegl_chant_double (strength, _("Strength"), 0.0, 100.0, 50,
                    _("Effect Strength"))
 gegl_chant_double (size, _("Size"), 1.0, 10000.0, 40.0,
                    _("Effect Size"))
@@ -244,9 +244,9 @@ stamp (GeglChantO          *o,
 
       while (n_pixels--)
         {
-          influence = o->strength * get_stamp_force (o,
-                                                     x_iter - x,
-                                                     y_iter - y);
+          influence = 0.01 * o->strength * get_stamp_force (o,
+                                                            x_iter - x,
+                                                            y_iter - y);
 
           switch (o->behavior)
             {



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