[gegl] gaussian-blur-selective: remove the unneeded boolean parameter to use aux buffer



commit a1e768c4713b98c5ca5e2f176a80a6a79e1eae25
Author: Thomas Manni <thomas manni free fr>
Date:   Thu Nov 26 11:26:55 2015 +0100

    gaussian-blur-selective: remove the unneeded boolean parameter to use aux buffer

 operations/common/gaussian-blur-selective.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/operations/common/gaussian-blur-selective.c b/operations/common/gaussian-blur-selective.c
index dcb3593..161efb5 100644
--- a/operations/common/gaussian-blur-selective.c
+++ b/operations/common/gaussian-blur-selective.c
@@ -35,8 +35,6 @@ property_double (max_delta, _("Max. delta"), 0.2)
   description   (_("Maximum delta"))
   value_range   (0.0, 1.0)
 
-property_boolean (use_aux_delta, _("Read delta values from auxiliary buffer"), FALSE)
-
 #else
 
 #define GEGL_OP_COMPOSER
@@ -230,15 +228,11 @@ process (GeglOperation       *operation,
   GeglProperties *o = GEGL_PROPERTIES (operation);
   gboolean        success;
   GeglRectangle   compute;
-  GeglBuffer     *delta = NULL;
 
   compute = get_required_for_output (operation, "input", result);
 
-  if (o->use_aux_delta)
-    delta = aux;
-
   success = gblur_selective (input, &compute,
-                             delta,
+                             aux,
                              output, result,
                              o->blur_radius, o->max_delta);
   return success;


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