svn merge ^/trunk/blender -r48153:48158
[blender-staging.git] / source / blender / nodes / composite / nodes / node_composite_mask.c
index 91c3e9fbaf73e5823e048e22d2cf7c08d4097183..969d6e303e8b33fa1a90581a9d4963c94fcf7340 100644 (file)
@@ -70,7 +70,9 @@ static void exec(void *data, bNode *node, bNodeStack **UNUSED(in), bNodeStack **
                stackbuf = alloc_compbuf(sx, sy, CB_VAL, TRUE);
                res = stackbuf->rect;
 
-               BKE_mask_rasterize(mask, sx, sy, res, TRUE, node->custom1);
+               BKE_mask_rasterize(mask, sx, sy, res, TRUE,
+                                  (node->custom1 & CMP_NODEFLAG_MASK_AA) != 0,
+                                  (node->custom1 & CMP_NODE_MASK_FEATHER) != 0);
 
                if (node->custom1) {
                        PLX_antialias_buffer(res,sx,sy);