[gimp/goat-invasion: 423/526] app: use gimp_gegl_node_set_layer_mode() to configure the FS' mode node
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/goat-invasion: 423/526] app: use gimp_gegl_node_set_layer_mode() to configure the FS' mode node
- Date: Sun, 22 Apr 2012 13:34:49 +0000 (UTC)
commit b35ac6884aa9657a5a66e601690b4ba1ccfbcf68
Author: Michael Natterer <mitch gimp org>
Date: Thu Apr 5 12:50:31 2012 +0200
app: use gimp_gegl_node_set_layer_mode() to configure the FS' mode node
app/core/gimpdrawable.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/core/gimpdrawable.c b/app/core/gimpdrawable.c
index 92d6d73..e1b2255 100644
--- a/app/core/gimpdrawable.c
+++ b/app/core/gimpdrawable.c
@@ -28,6 +28,7 @@
#include "base/pixel-region.h"
+#include "gegl/gimp-gegl-nodes.h"
#include "gegl/gimp-gegl-utils.h"
#include "gimp-utils.h"
@@ -917,7 +918,7 @@ gimp_drawable_sync_source_node (GimpDrawable *drawable,
drawable->private->fs_mode_node =
gegl_node_new_child (drawable->private->source_node,
- "operation", "gimp:point-layer-mode",
+ "operation", "gegl:over",
NULL);
gegl_node_connect_to (drawable->private->buffer_source_node, "output",
@@ -952,9 +953,8 @@ gimp_drawable_sync_source_node (GimpDrawable *drawable,
"y", (gdouble) (fs_off_y - off_y),
NULL);
- gegl_node_set (drawable->private->fs_mode_node,
- "blend-mode", gimp_layer_get_mode (fs),
- NULL);
+ gimp_gegl_node_set_layer_mode (drawable->private->fs_mode_node,
+ gimp_layer_get_mode (fs), TRUE);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]