[gimp/metadata-browser] app: use gimp_gegl_node_set_layer_mode() to configure the FS' mode node
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: use gimp_gegl_node_set_layer_mode() to configure the FS' mode node
- Date: Wed, 12 Sep 2012 23:43:58 +0000 (UTC)
commit 7af58b91773550a637c86474c7dc4c54081ebcd2
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]