diff options
Diffstat (limited to 'source/blender/compositor/nodes/COM_LuminanceMatteNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_LuminanceMatteNode.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/compositor/nodes/COM_LuminanceMatteNode.cpp b/source/blender/compositor/nodes/COM_LuminanceMatteNode.cpp index 010688b6c2a..8c9ebeed1cf 100644 --- a/source/blender/compositor/nodes/COM_LuminanceMatteNode.cpp +++ b/source/blender/compositor/nodes/COM_LuminanceMatteNode.cpp @@ -28,14 +28,15 @@ LuminanceMatteNode::LuminanceMatteNode(bNode *editorNode): Node(editorNode) {} -void LuminanceMatteNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context) { +void LuminanceMatteNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context) +{ InputSocket *inputSocket = this->getInputSocket(0); OutputSocket *outputSocketImage = this->getOutputSocket(0); OutputSocket *outputSocketMatte = this->getOutputSocket(1); ConvertRGBToYUVOperation *rgbToYUV = new ConvertRGBToYUVOperation(); LuminanceMatteOperation *operationSet = new LuminanceMatteOperation(); - bNode* editorsnode = getbNode(); + bNode *editorsnode = getbNode(); operationSet->setSettings((NodeChroma*)editorsnode->storage); inputSocket->relinkConnections(rgbToYUV->getInputSocket(0), true, 0, graph); |