[gimp/goat-invasion: 189/526] app: pass the right filter when GEGL-transfomring
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 189/526] app: pass the right filter when GEGL-transfomring
- Date: Sun, 22 Apr 2012 13:15:10 +0000 (UTC)
commit 435b60448fe3656a521a36da8ef9d7ec4ef5a12c
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]