Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <j.bakker@atmind.nl>2012-05-23 16:45:07 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-05-23 16:45:07 +0400
commit9b45f607c927028960406bb558a9fe7d9f67c0ba (patch)
treec1cbc53f1f5fe5a609531eb36748fdb2866c9957 /source/blender/compositor/nodes/COM_SetAlphaNode.cpp
parent487fa055def89911d7b4e982717afd9f0c56ca58 (diff)
cleanup relink code
Diffstat (limited to 'source/blender/compositor/nodes/COM_SetAlphaNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_SetAlphaNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/nodes/COM_SetAlphaNode.cpp b/source/blender/compositor/nodes/COM_SetAlphaNode.cpp
index 90db6682184..1d09b81c4d2 100644
--- a/source/blender/compositor/nodes/COM_SetAlphaNode.cpp
+++ b/source/blender/compositor/nodes/COM_SetAlphaNode.cpp
@@ -28,8 +28,8 @@ void SetAlphaNode::convertToOperations(ExecutionSystem *graph, CompositorContext
{
SetAlphaOperation *operation = new SetAlphaOperation();
- this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), true, 0, graph);
- this->getInputSocket(1)->relinkConnections(operation->getInputSocket(1), true, 0, graph);
+ this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), 0, graph);
+ this->getInputSocket(1)->relinkConnections(operation->getInputSocket(1), 1, graph);
this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket());
graph->addOperation(operation);