Fix T47212: incorrect luma coefficients for Luminance Key node.
Differential Revision: https://developer.blender.org/D2982
This commit is contained in:
@@ -37,14 +37,11 @@ void LuminanceMatteNode::convertToOperations(NodeConverter &converter, const Com
|
||||
NodeOutput *outputSocketImage = this->getOutputSocket(0);
|
||||
NodeOutput *outputSocketMatte = this->getOutputSocket(1);
|
||||
|
||||
ConvertRGBToYUVOperation *rgbToYUV = new ConvertRGBToYUVOperation();
|
||||
LuminanceMatteOperation *operationSet = new LuminanceMatteOperation();
|
||||
operationSet->setSettings((NodeChroma *)editorsnode->storage);
|
||||
converter.addOperation(rgbToYUV);
|
||||
converter.addOperation(operationSet);
|
||||
|
||||
converter.mapInputSocket(inputSocket, rgbToYUV->getInputSocket(0));
|
||||
converter.addLink(rgbToYUV->getOutputSocket(), operationSet->getInputSocket(0));
|
||||
converter.mapInputSocket(inputSocket, operationSet->getInputSocket(0));
|
||||
converter.mapOutputSocket(outputSocketMatte, operationSet->getOutputSocket(0));
|
||||
|
||||
SetAlphaOperation *operation = new SetAlphaOperation();
|
||||
|
||||
Reference in New Issue
Block a user