diff options
Diffstat (limited to 'source/blender/compositor/nodes/COM_DistanceMatteNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_DistanceMatteNode.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp b/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp index c55ce803f97..3fc4a882eaf 100644 --- a/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp +++ b/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp @@ -27,14 +27,15 @@ DistanceMatteNode::DistanceMatteNode(bNode *editorNode): Node(editorNode) {} -void DistanceMatteNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context) { +void DistanceMatteNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context) +{ InputSocket *inputSocketImage = this->getInputSocket(0); InputSocket *inputSocketKey = this->getInputSocket(1); OutputSocket *outputSocketImage = this->getOutputSocket(0); OutputSocket *outputSocketMatte = this->getOutputSocket(1); DistanceMatteOperation *operation = new DistanceMatteOperation(); - bNode* editorsnode = getbNode(); + bNode *editorsnode = getbNode(); operation->setSettings((NodeChroma*)editorsnode->storage); inputSocketImage->relinkConnections(operation->getInputSocket(0), true, 0, graph); |