[gegl] gaussian-blur: make default abyss policy be clamp
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gaussian-blur: make default abyss policy be clamp
- Date: Fri, 9 Oct 2015 19:53:30 +0000 (UTC)
commit db4008f9b3719f95c96f894392e78e60fbffd5dc
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Oct 9 21:52:58 2015 +0200
gaussian-blur: make default abyss policy be clamp
operations/common/gaussian-blur-iir.c | 3 +--
tests/compositions/clones.xml | 1 +
tests/compositions/image-compare.xml | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/gaussian-blur-iir.c b/operations/common/gaussian-blur-iir.c
index c5f56c6..d08423a 100644
--- a/operations/common/gaussian-blur-iir.c
+++ b/operations/common/gaussian-blur-iir.c
@@ -34,7 +34,6 @@ enum_start (gegl_gaussian_blur_policy)
enum_value (GEGL_GAUSSIAN_BLUR_ABYSS_WHITE, "white", N_("White"))
enum_end (GeglGaussianBlurPolicy)
-
property_double (std_dev_x, _("Size X"), 1.5)
description (_("Standard deviation for the horizontal axis"))
value_range (0.0, 1500.0)
@@ -57,7 +56,7 @@ property_enum (filter, _("Filter"),
description (_("How the gaussian kernel is discretized"))
property_enum (abyss_policy, _("Abyss policy"), GeglGaussianBlurPolicy,
- gegl_gaussian_blur_policy, GEGL_GAUSSIAN_BLUR_ABYSS_NONE)
+ gegl_gaussian_blur_policy, GEGL_GAUSSIAN_BLUR_ABYSS_CLAMP)
description (_("How image edges are handled"))
property_boolean (clip_extent, _("Clip to the input extent"), TRUE)
diff --git a/tests/compositions/clones.xml b/tests/compositions/clones.xml
index ab3ee22..cda7efb 100644
--- a/tests/compositions/clones.xml
+++ b/tests/compositions/clones.xml
@@ -182,6 +182,7 @@
<params>
<param name='std-dev-x'>5.000000</param>
<param name='std-dev-y'>5.000000</param>
+ <param name='abyss-policy'>none</param>
</params>
</node>
<node operation='gegl:load' id='clone3'>
diff --git a/tests/compositions/image-compare.xml b/tests/compositions/image-compare.xml
index c8e4d0b..eeb4252 100644
--- a/tests/compositions/image-compare.xml
+++ b/tests/compositions/image-compare.xml
@@ -18,6 +18,7 @@
<node operation='gegl:gaussian-blur'>
<param name='std_dev_y'>4.0</param>
<param name='std_dev_x'>4.0</param>
+ <param name='abyss-policy'>none</param>
</node>
<node operation='gegl:load'>
<params>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]