[gimp] app: Use ABYSS_CLAMP for image and drawable previews (bug 709708)



commit 834a7c5a47d56cc7551ea26e7d3c503f1250abd6
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Sun Mar 9 10:49:46 2014 -0700

    app: Use ABYSS_CLAMP for image and drawable previews (bug 709708)

 app/core/gimpdrawable-preview.c |    2 +-
 app/core/gimpimage-preview.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpdrawable-preview.c b/app/core/gimpdrawable-preview.c
index 2e62142..35b26d0 100644
--- a/app/core/gimpdrawable-preview.c
+++ b/app/core/gimpdrawable-preview.c
@@ -129,7 +129,7 @@ gimp_drawable_get_sub_preview (GimpDrawable *drawable,
                    scale,
                    gimp_temp_buf_get_format (preview),
                    gimp_temp_buf_get_data (preview),
-                   GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
+                   GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_CLAMP);
 
   return preview;
 }
diff --git a/app/core/gimpimage-preview.c b/app/core/gimpimage-preview.c
index eec4926..405a629 100644
--- a/app/core/gimpimage-preview.c
+++ b/app/core/gimpimage-preview.c
@@ -122,7 +122,7 @@ gimp_image_get_new_preview (GimpViewable *viewable,
                    MIN (scale_x, scale_y),
                    gimp_temp_buf_get_format (buf),
                    gimp_temp_buf_get_data (buf),
-                   GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_NONE);
+                   GEGL_AUTO_ROWSTRIDE, GEGL_ABYSS_CLAMP);
 
   return buf;
 }


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