transform: skip babl conversions for more nearest neighor transforms

parent 67b58c73
......@@ -139,7 +139,8 @@ gegl_transform_prepare (GeglOperation *operation)
if (gegl_transform_is_intermediate_node (transform) ||
gegl_transform_matrix3_allow_fast_translate (&matrix) ||
(gegl_matrix3_is_translate (&matrix) &&
transform->sampler == GEGL_SAMPLER_NEAREST))
transform->sampler == GEGL_SAMPLER_NEAREST) ||
(transform->sampler == GEGL_SAMPLER_NEAREST))
{
const Babl *fmt = gegl_operation_get_source_format (operation, "input");
......
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