[gimp/goat-invasion: 192/234] app: use hard-edges = TRUE when GEGL-scaling drawables



commit 54e73055eebc76780d85b55a52e16515c7923fe6
Author: Michael Natterer <mitch gimp org>
Date:   Wed Mar 21 21:26:44 2012 +0100

    app: use hard-edges = TRUE when GEGL-scaling drawables

 app/core/gimpdrawable.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index 4a3ccf7..943e785 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -468,7 +468,7 @@ gimp_drawable_scale (GimpItem              *item,
                      "origin-x",   0.0,
                      "origin-y",   0.0,
                      "filter",     gimp_interpolation_to_gegl_filter (interpolation_type),
-                     "hard-edges", FALSE,
+                     "hard-edges", TRUE,
                      "x",          ((gdouble) new_width /
                                     gimp_item_get_width  (item)),
                      "y",          ((gdouble) new_height /



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