diff options
Diffstat (limited to 'source/blender/compositor/nodes/COM_DefocusNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_DefocusNode.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/compositor/nodes/COM_DefocusNode.cpp b/source/blender/compositor/nodes/COM_DefocusNode.cpp index 05bf907af5a..65825a60b50 100644 --- a/source/blender/compositor/nodes/COM_DefocusNode.cpp +++ b/source/blender/compositor/nodes/COM_DefocusNode.cpp @@ -99,9 +99,7 @@ void DefocusNode::convertToOperations(ExecutionSystem *graph, CompositorContext #ifdef COM_DEFOCUS_SEARCH InverseSearchRadiusOperation *search = new InverseSearchRadiusOperation(); addLink(graph, radiusOperation->getOutputSocket(0), search->getInputSocket(0)); - addLink(graph, depthOperation, search->getInputSocket(1)); search->setMaxBlur(data->maxblur); - search->setThreshold(data->bthresh); graph->addOperation(search); #endif VariableSizeBokehBlurOperation *operation = new VariableSizeBokehBlurOperation(); @@ -116,7 +114,7 @@ void DefocusNode::convertToOperations(ExecutionSystem *graph, CompositorContext addLink(graph, bokeh->getOutputSocket(), operation->getInputSocket(1)); addLink(graph, radiusOperation->getOutputSocket(), operation->getInputSocket(2)); #ifdef COM_DEFOCUS_SEARCH - addLink(graph, search->getOutputSocket(), operation->getInputSocket(4)); + addLink(graph, search->getOutputSocket(), operation->getInputSocket(3)); #endif if (data->gamco) { GammaCorrectOperation *correct = new GammaCorrectOperation(); |