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



commit cbf0a919720fe48973a0b771a6fc963be1cd4c16
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]