[gimp] app/actions: fix Apply Layer Mask



commit b94121f53fea1884ef1636c12406ea93e6c5aba8
Author: Thomas Manni <thomas manni free fr>
Date:   Thu Nov 26 17:54:41 2020 +0100

    app/actions: fix Apply Layer Mask

 app/actions/layers-commands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/actions/layers-commands.c b/app/actions/layers-commands.c
index 2542160416..b83dc8f862 100644
--- a/app/actions/layers-commands.c
+++ b/app/actions/layers-commands.c
@@ -1480,7 +1480,7 @@ layers_mask_apply_cmd_callback (GimpAction *action,
         {
           if (mode == GIMP_MASK_APPLY &&
               (gimp_viewable_get_children (GIMP_VIEWABLE (iter->data)) ||
-               ! gimp_item_is_content_locked (GIMP_ITEM (iter->data))))
+               gimp_item_is_content_locked (GIMP_ITEM (iter->data))))
             /* Layer groups cannot apply masks. Neither can
              * content-locked layers.
              */


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