[gimp] app: no need to show all components as icons when alpha is invisible.



commit 1e5311f0e82d0a53cb70c29e37909ab85f6284a0
Author: Jehan <jehan girinstud io>
Date:   Thu Nov 16 03:08:07 2017 +0100

    app: no need to show all components as icons when alpha is invisible.

 app/widgets/gimpviewrendererimage.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/app/widgets/gimpviewrendererimage.c b/app/widgets/gimpviewrendererimage.c
index 10ee8f5..e381f73 100644
--- a/app/widgets/gimpviewrendererimage.c
+++ b/app/widgets/gimpviewrendererimage.c
@@ -71,8 +71,7 @@ gimp_view_renderer_image_render (GimpViewRenderer *renderer,
    * preview all black. See bug #459518 for details.
    */
   if (rendererimage->channel == -1 ||
-      (gimp_image_get_component_visible (image, rendererimage->channel) &&
-       gimp_image_get_component_visible (image, GIMP_CHANNEL_ALPHA)))
+      (gimp_image_get_component_visible (image, rendererimage->channel)))
     {
       gint         view_width;
       gint         view_height;


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