[gegl] wavelet-blur-1d: propagate BablSpace



commit 2208c0d97e066eaf597425f08ee7da3f72fc59ce
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Jul 5 22:38:07 2018 +0200

    wavelet-blur-1d: propagate BablSpace

 operations/common/wavelet-blur-1d.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/operations/common/wavelet-blur-1d.c b/operations/common/wavelet-blur-1d.c
index 39f4d5ab1..f29afb675 100644
--- a/operations/common/wavelet-blur-1d.c
+++ b/operations/common/wavelet-blur-1d.c
@@ -157,10 +157,11 @@ wav_ver_blur (GeglBuffer          *src,
 static void
 prepare (GeglOperation *operation)
 {
+  const Babl *space = gegl_operation_get_source_space (operation, "input");
   GeglOperationAreaFilter *area = GEGL_OPERATION_AREA_FILTER (operation);
 
   GeglProperties *o   = GEGL_PROPERTIES (operation);
-  const Babl *format  = babl_format ("R'G'B' float");
+  const Babl *format  = babl_format_with_space ("R'G'B' float", space);
 
   if (o->orientation == GEGL_ORIENTATION_HORIZONTAL)
     {


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