option to disable feather, since its so slow - for interactively editing masks its...
[blender.git] / source / blender / compositor / nodes / COM_MaskNode.cpp
index ed07e41a6497a3fc9f227a98d64c19ca0b8ba0ad..d0b6120198fa5be228f0a40d75c1f22b9fa377f8 100644 (file)
@@ -55,7 +55,8 @@ void MaskNode::convertToOperations(ExecutionSystem *graph, CompositorContext *co
 
        operation->setMask(mask);
        operation->setFramenumber(context->getFramenumber());
-       operation->setSmooth((bool)editorNode->custom1);
+       operation->setSmooth((bool)(editorNode->custom1 & CMP_NODEFLAG_MASK_AA) != 0);
+       operation->setFeather((bool)(editorNode->custom1 & CMP_NODEFLAG_MASK_FEATHER) != 0);
 
        graph->addOperation(operation);
 }