[gimp] app: small fix to last commit



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

    app: small fix to last commit

 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 4b6af65005..4634666c17 100644
--- a/app/operations/gimpoperationmaskcomponents.cc
+++ b/app/operations/gimpoperationmaskcomponents.cc
@@ -511,7 +511,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]