fix for using uninitialized blur falloff for dilate/erode node.
This commit is contained in:
@@ -95,6 +95,7 @@ void DilateErodeNode::convertToOperations(ExecutionSystem *graph, CompositorCont
|
||||
operationx->setbNode(editorNode);
|
||||
operationx->setData(data);
|
||||
operationx->setQuality(quality);
|
||||
operationx->setFalloff(PROP_SMOOTH);
|
||||
this->getInputSocket(0)->relinkConnections(operationx->getInputSocket(0), 0, graph);
|
||||
// this->getInputSocket(1)->relinkConnections(operationx->getInputSocket(1), 1, graph); // no size input yet
|
||||
graph->addOperation(operationx);
|
||||
@@ -102,6 +103,7 @@ void DilateErodeNode::convertToOperations(ExecutionSystem *graph, CompositorCont
|
||||
operationy->setbNode(editorNode);
|
||||
operationy->setData(data);
|
||||
operationy->setQuality(quality);
|
||||
operationy->setFalloff(PROP_SMOOTH);
|
||||
this->getOutputSocket(0)->relinkConnections(operationy->getOutputSocket());
|
||||
graph->addOperation(operationy);
|
||||
addLink(graph, operationx->getOutputSocket(), operationy->getInputSocket(0));
|
||||
|
||||
Reference in New Issue
Block a user