Fix #36041, Chroma key broken. Compositor node was using wrong socket index to link the output of the RGBToYCC operation to the chroma matte input.
This mistake happens over and over, it's just not clear what the index arguments in these relink functions mean ... We really need to clean up that interface.
This commit is contained in:
@@ -47,7 +47,7 @@ void ChromaMatteNode::convertToOperations(ExecutionSystem *graph, CompositorCont
|
||||
operation->setSettings((NodeChroma *)editorsnode->storage);
|
||||
|
||||
inputSocketImage->relinkConnections(operationRGBToYCC_Image->getInputSocket(0), 0, graph);
|
||||
inputSocketKey->relinkConnections(operationRGBToYCC_Key->getInputSocket(0), 0, graph);
|
||||
inputSocketKey->relinkConnections(operationRGBToYCC_Key->getInputSocket(0), 1, graph);
|
||||
|
||||
addLink(graph, operationRGBToYCC_Image->getOutputSocket(), operation->getInputSocket(0));
|
||||
addLink(graph, operationRGBToYCC_Key->getOutputSocket(), operation->getInputSocket(1));
|
||||
|
||||
Reference in New Issue
Block a user