[gegl] edge: propagate space
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] edge: propagate space
- Date: Fri, 6 Jul 2018 09:36:22 +0000 (UTC)
commit a6321e3585edaae41fa561218d9d0f4fae8745ac
Author: Øyvind Kolås <pippin gimp org>
Date: Fri Jul 6 11:30:08 2018 +0200
edge: propagate space
operations/common-gpl3+/edge.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/operations/common-gpl3+/edge.c b/operations/common-gpl3+/edge.c
index 988ec8588..1614ba190 100644
--- a/operations/common-gpl3+/edge.c
+++ b/operations/common-gpl3+/edge.c
@@ -208,7 +208,7 @@ prepare (GeglOperation *operation)
GeglOperationAreaFilter *area = GEGL_OPERATION_AREA_FILTER (operation);
const Babl *input_f = gegl_operation_get_source_format (operation, "input");
- const Babl *format = babl_format ("R'G'B' float");
+ const Babl *format = babl_format_with_space ("R'G'B' float", input_f);
area->left =
area->right =
@@ -218,7 +218,7 @@ prepare (GeglOperation *operation)
if (input_f)
{
if (babl_format_has_alpha (input_f))
- format = babl_format ("R'G'B'A float");
+ format = babl_format_with_space ("R'G'B'A float", input_f);
}
gegl_operation_set_format (operation, "input", format);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]