cleanup relink code

This commit is contained in:
2012-05-23 12:45:07 +00:00
parent 487fa055de
commit 9b45f607c9
62 changed files with 192 additions and 198 deletions

View File

@@ -38,8 +38,8 @@ void DistanceMatteNode::convertToOperations(ExecutionSystem *graph, CompositorCo
bNode *editorsnode = getbNode();
operation->setSettings((NodeChroma*)editorsnode->storage);
inputSocketImage->relinkConnections(operation->getInputSocket(0), true, 0, graph);
inputSocketKey->relinkConnections(operation->getInputSocket(1), true, 1, graph);
inputSocketImage->relinkConnections(operation->getInputSocket(0), 0, graph);
inputSocketKey->relinkConnections(operation->getInputSocket(1), 1, graph);
if (outputSocketMatte->isConnected()) {
outputSocketMatte->relinkConnections(operation->getOutputSocket());