[gegl] svg-saturate: propagate BablSpace
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] svg-saturate: propagate BablSpace
- Date: Thu, 5 Jul 2018 20:45:15 +0000 (UTC)
commit d2c16d0b398351ef370788c5c7706f1429832e61
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Jul 5 22:44:24 2018 +0200
svg-saturate: propagate BablSpace
operations/common/svg-saturate.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/operations/common/svg-saturate.c b/operations/common/svg-saturate.c
index f4c87cf38..99e707b58 100644
--- a/operations/common/svg-saturate.c
+++ b/operations/common/svg-saturate.c
@@ -38,7 +38,8 @@ property_string (values, _("Values"), "")
static void prepare (GeglOperation *operation)
{
- const Babl *format = babl_format ("RaGaBaA float");
+ const Babl *space = gegl_operation_get_source_space (operation, "input");
+ const Babl *format = babl_format_with_space ("RaGaBaA float", space);
gegl_operation_set_format (operation, "input", format);
gegl_operation_set_format (operation, "output", format);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]