option to disable feather, since its so slow - for interactively editing masks its...
[blender.git] / source / blender / nodes / composite / nodes / node_composite_mask.c
index 91c3e9fbaf73e5823e048e22d2cf7c08d4097183..8af06b513c6789ee00d97bef2c78223d4eb5530c 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_NODEFLAG_MASK_FEATHER) != 0);
 
                if (node->custom1) {
                        PLX_antialias_buffer(res,sx,sy);