[gimp] Bug 794753 - do not dither image mask and channels for imported images



commit 44f293bcdb241f49b22a8df00d7f90f350f24005
Author: Thomas Manni <thomas manni free fr>
Date:   Wed Mar 28 09:02:12 2018 +0200

    Bug 794753 - do not dither image mask and channels for imported images
    
    When "Dither images when promoting to floating point" is checked in
    Preferences, apply dithering on layers and keep image mask and channels
    unaltered.

 app/core/gimpimage-convert-precision.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/app/core/gimpimage-convert-precision.c b/app/core/gimpimage-convert-precision.c
index d42efaf..07b5300 100644
--- a/app/core/gimpimage-convert-precision.c
+++ b/app/core/gimpimage-convert-precision.c
@@ -282,9 +282,6 @@ gimp_image_convert_dither_u8 (GimpImage    *image,
 
       g_list_free (layers);
 
-      gimp_object_queue_push (queue, gimp_image_get_mask (image));
-      gimp_object_queue_push_container (queue, gimp_image_get_channels (image));
-
       while ((drawable = gimp_object_queue_pop (queue)))
         {
           gimp_drawable_apply_operation (drawable, progress,


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