[gimp/goat-invasion: 190/325] app: pass the right filter when GEGL-transfomring



commit 58f53d5ecd89888c095f27a7e789f2c259f25f9d
Author: Michael Natterer <mitch gimp org>
Date:   Wed Mar 21 21:19:09 2012 +0100

    app: pass the right filter when GEGL-transfomring

 app/core/gimpdrawable-transform.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpdrawable-transform.c b/app/core/gimpdrawable-transform.c
index 9141e77..8ca7fd8 100644
--- a/app/core/gimpdrawable-transform.c
+++ b/app/core/gimpdrawable-transform.c
@@ -144,8 +144,10 @@ gimp_drawable_transform_buffer_affine (GimpDrawable           *drawable,
 
       matrix_string = gegl_matrix3_to_string ((GeglMatrix3 *) &gegl_matrix);
       affine = gegl_node_new_child (NULL,
-                                    "operation", "gegl:transform",
-                                    "transform", matrix_string,
+                                    "operation",  "gegl:transform",
+                                    "transform",  matrix_string,
+                                    "filter",     gimp_interpolation_to_gegl_filter (interpolation_type),
+                                    "hard-edges", TRUE,
                                     NULL);
       g_free (matrix_string);
 



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