[gimp/blend-tool-fun: 82/163] Bug 755703 - new gaussian blur: default Abyss policy to Clamp



commit 4a030ed71afacaa5684b4a9108654a5ed4fb428b
Author: Michael Natterer <mitch gimp org>
Date:   Mon Sep 28 17:27:29 2015 +0200

    Bug 755703 - new gaussian blur: default Abyss policy to Clamp
    
    Default to CLAMP in the PDB compat wrappers that replace the old
    plug-ins.

 app/pdb/plug-in-compat-cmds.c       |    7 ++++---
 tools/pdbgen/pdb/plug_in_compat.pdb |    7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/app/pdb/plug-in-compat-cmds.c b/app/pdb/plug-in-compat-cmds.c
index a0a3a78..0abaefa 100644
--- a/app/pdb/plug-in-compat-cmds.c
+++ b/app/pdb/plug-in-compat-cmds.c
@@ -335,9 +335,10 @@ gaussian_blur (GimpDrawable  *drawable,
       GeglNode *node;
 
       node = gegl_node_new_child (NULL,
-                                  "operation", "gegl:gaussian-blur",
-                                  "std-dev-x", horizontal * 0.32,
-                                  "std-dev-y", vertical   * 0.32,
+                                  "operation",    "gegl:gaussian-blur-iir",
+                                  "std-dev-x",    horizontal * 0.32,
+                                  "std-dev-y",    vertical   * 0.32,
+                                 "abyss-policy", 1,
                                   NULL);
 
       node = wrap_in_gamma_cast (node, drawable);
diff --git a/tools/pdbgen/pdb/plug_in_compat.pdb b/tools/pdbgen/pdb/plug_in_compat.pdb
index c0064b0..26b52d7 100644
--- a/tools/pdbgen/pdb/plug_in_compat.pdb
+++ b/tools/pdbgen/pdb/plug_in_compat.pdb
@@ -4778,9 +4778,10 @@ gaussian_blur (GimpDrawable  *drawable,
       GeglNode *node;
 
       node = gegl_node_new_child (NULL,
-                                  "operation", "gegl:gaussian-blur",
-                                  "std-dev-x", horizontal * 0.32,
-                                  "std-dev-y", vertical   * 0.32,
+                                  "operation",    "gegl:gaussian-blur-iir",
+                                  "std-dev-x",    horizontal * 0.32,
+                                  "std-dev-y",    vertical   * 0.32,
+                                 "abyss-policy", 1,
                                   NULL);
 
       node = wrap_in_gamma_cast (node, drawable);


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