diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-05-23 16:45:07 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-05-23 16:45:07 +0400 |
commit | 9b45f607c927028960406bb558a9fe7d9f67c0ba (patch) | |
tree | c1cbc53f1f5fe5a609531eb36748fdb2866c9957 /source/blender/compositor/nodes/COM_LensDistortionNode.cpp | |
parent | 487fa055def89911d7b4e982717afd9f0c56ca58 (diff) |
cleanup relink code
Diffstat (limited to 'source/blender/compositor/nodes/COM_LensDistortionNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_LensDistortionNode.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/nodes/COM_LensDistortionNode.cpp b/source/blender/compositor/nodes/COM_LensDistortionNode.cpp index 5719f31180b..e55dd5e64d8 100644 --- a/source/blender/compositor/nodes/COM_LensDistortionNode.cpp +++ b/source/blender/compositor/nodes/COM_LensDistortionNode.cpp @@ -37,7 +37,7 @@ void LensDistortionNode::convertToOperations(ExecutionSystem *graph, CompositorC if (data->proj) { ProjectorLensDistortionOperation *operation = new ProjectorLensDistortionOperation(); - this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), true, 0, graph); + this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), 0, graph); operation->setDispertion(this->getInputSocket(2)->getStaticValues()[0]); this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket(0)); @@ -48,7 +48,7 @@ void LensDistortionNode::convertToOperations(ExecutionSystem *graph, CompositorC else { ScreenLensDistortionOperation *operation = new ScreenLensDistortionOperation(); - this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), true, 0, graph); + this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), 0, graph); operation->setDistortion(this->getInputSocket(1)->getStaticValues()[0]); operation->setDispertion(this->getInputSocket(2)->getStaticValues()[0]); this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket(0)); |