[gimp] app: use gimp:normal instead of gegl:over in gimp_gegl_apply_cached_operation()



commit 2e68088c355c43c7b6be82e65633a500b0dc0095
Author: Ell <ell_se yahoo com>
Date:   Mon May 7 14:36:29 2018 -0400

    app: use gimp:normal instead of gegl:over in gimp_gegl_apply_cached_operation()
    
    When the operation doesn't have an input pad, composite it over the
    input using gimp:normal, instead of gegl:over, for consistency with
    the rest of our compositing code (although the result should be the
    same).

 app/gegl/gimp-gegl-apply-operation.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gegl/gimp-gegl-apply-operation.c b/app/gegl/gimp-gegl-apply-operation.c
index f83e8ee..221fccb 100644
--- a/app/gegl/gimp-gegl-apply-operation.c
+++ b/app/gegl/gimp-gegl-apply-operation.c
@@ -153,7 +153,7 @@ gimp_gegl_apply_cached_operation (GeglBuffer          *src_buffer,
       if (! gegl_node_has_pad (operation, "input"))
         {
           effect = gegl_node_new_child (gegl,
-                                        "operation", "gegl:over",
+                                        "operation", "gimp:normal",
                                         NULL);
 
           gegl_node_connect_to (operation, "output",


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