operations: pass space on in transform ops

parent 1e28d685
...@@ -147,7 +147,8 @@ op_transform_get_type (void) ...@@ -147,7 +147,8 @@ op_transform_get_type (void)
static void static void
gegl_transform_prepare (GeglOperation *operation) gegl_transform_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);
GeglMatrix3 matrix; GeglMatrix3 matrix;
OpTransform *transform = (OpTransform *) operation; OpTransform *transform = (OpTransform *) operation;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment