[gegl] lens-flare: propagate space



commit f6d1dd07d3efc54dc63357fa40ec1d0c6c4501cb
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri Jul 6 11:44:41 2018 +0200

    lens-flare: propagate space

 operations/common-gpl3+/lens-flare.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/operations/common-gpl3+/lens-flare.c b/operations/common-gpl3+/lens-flare.c
index 66f927f42..addad0481 100644
--- a/operations/common-gpl3+/lens-flare.c
+++ b/operations/common-gpl3+/lens-flare.c
@@ -310,7 +310,8 @@ static void
 prepare (GeglOperation *operation)
 {
   GeglProperties *o      = GEGL_PROPERTIES (operation);
-  const Babl     *format = babl_format ("R'G'B'A float");
+  const Babl     *format = babl_format_with_space ("R'G'B'A float",
+                              gegl_operation_get_source_space (operation, "input"));
   LfParamsType   *params = NULL;
 
   if (o->user_data == NULL)


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