[gimp/gimp-2-10] app: small fix to last commit



commit a3db1857fcc37fe2c594454892d22751eab7add5
Author: Ell <ell_se yahoo com>
Date:   Fri Mar 1 14:15:13 2019 -0500

    app: small fix to last commit
    
    (cherry picked from commit a8a29312dea8699a1beb3058018990d3b09dc410)

 app/operations/gimpoperationmaskcomponents.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/operations/gimpoperationmaskcomponents.cc b/app/operations/gimpoperationmaskcomponents.cc
index 21e5f95c09..d10d11952a 100644
--- a/app/operations/gimpoperationmaskcomponents.cc
+++ b/app/operations/gimpoperationmaskcomponents.cc
@@ -508,7 +508,7 @@ gimp_operation_mask_components_process (const Babl        *format,
   g_return_if_fail (out != NULL);
   g_return_if_fail (n >= 0);
 
-  if (! aux && ! (mask & GIMP_COMPONENT_MASK_ALPHA))
+  if (! aux && (mask & GIMP_COMPONENT_MASK_ALPHA))
     opacity_value = get_opacity_value (format);
 
   switch (babl_format_get_bytes_per_pixel (format))


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