[gegl] noise-cie-lch: propagate space
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] noise-cie-lch: propagate space
- Date: Thu, 5 Jul 2018 20:54:13 +0000 (UTC)
commit c472a7aabb0abe640b5cb5d5ecbd044419c21dc4
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Jul 5 22:53:47 2018 +0200
noise-cie-lch: propagate space
operations/common/noise-cie-lch.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/operations/common/noise-cie-lch.c b/operations/common/noise-cie-lch.c
index a0457aae1..eaab11119 100644
--- a/operations/common/noise-cie-lch.c
+++ b/operations/common/noise-cie-lch.c
@@ -99,10 +99,11 @@ randomize_value (gfloat now,
static void
prepare (GeglOperation *operation)
{
+ const Babl *space = gegl_operation_get_source_space (operation, "input");
gegl_operation_set_format (operation, "input" ,
- babl_format ("CIE LCH(ab) alpha float"));
+ babl_format_with_space ("CIE LCH(ab) alpha float", space));
gegl_operation_set_format (operation, "output",
- babl_format ("CIE LCH(ab) alpha float"));
+ babl_format_with_space ("CIE LCH(ab) alpha float", space));
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]