[gegl] Bug 734652 - Cage Transform doesn't use original high resolution...



commit f01387c7fe9ad80b725b7047076677118589966c
Author: Michael Natterer <mitch gimp org>
Date:   Fri Nov 28 19:15:15 2014 +0100

    Bug 734652 - Cage Transform doesn't use original high resolution...
    
    of image after committing the transform
    
    Fix swapped sampler_type and level arguments in call to
    gegl_buffer_sampler_new_at_level() in map-absolute.c.

 operations/common/map-absolute.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/map-absolute.c b/operations/common/map-absolute.c
index 5b4a43b..38564c3 100644
--- a/operations/common/map-absolute.c
+++ b/operations/common/map-absolute.c
@@ -70,7 +70,8 @@ process (GeglOperation       *operation,
   format_io = babl_format ("RGBA float");
   format_coords = babl_format_n (babl_type ("float"), 2);
 
-  sampler = gegl_buffer_sampler_new_at_level (input, format_io, level, o->sampler_type);
+  sampler = gegl_buffer_sampler_new_at_level (input, format_io, o->sampler_type,
+                                              level);
 
   if (aux != NULL)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]