cleanup relink code
This commit is contained in:
@@ -39,9 +39,9 @@ void VectorBlurNode::convertToOperations(ExecutionSystem *system, CompositorCont
|
||||
VectorBlurOperation *operation = new VectorBlurOperation();
|
||||
operation->setVectorBlurSettings(vectorBlurSettings);
|
||||
operation->setQuality(context->getQuality());
|
||||
this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), true, 0, system);
|
||||
this->getInputSocket(1)->relinkConnections(operation->getInputSocket(1), true, 1, system);
|
||||
this->getInputSocket(2)->relinkConnections(operation->getInputSocket(2), true, 2, system);
|
||||
this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), 0, system);
|
||||
this->getInputSocket(1)->relinkConnections(operation->getInputSocket(1), 1, system);
|
||||
this->getInputSocket(2)->relinkConnections(operation->getInputSocket(2), 2, system);
|
||||
this->getOutputSocket()->relinkConnections(operation->getOutputSocket());
|
||||
system->addOperation(operation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user