[gegl] svg-hurerotate: propagate BablSpace
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] svg-hurerotate: propagate BablSpace
- Date: Thu, 5 Jul 2018 20:48:11 +0000 (UTC)
commit 8a4be80813caedddf68e6451ff9dcf68ca82cb86
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Jul 5 22:47:45 2018 +0200
svg-hurerotate: propagate BablSpace
operations/common/svg-huerotate.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/operations/common/svg-huerotate.c b/operations/common/svg-huerotate.c
index 42921a6d6..63504e787 100644
--- a/operations/common/svg-huerotate.c
+++ b/operations/common/svg-huerotate.c
@@ -39,7 +39,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]