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_ZCombineNode.cpp
parent487fa055def89911d7b4e982717afd9f0c56ca58 (diff)
cleanup relink code
Diffstat (limited to 'source/blender/compositor/nodes/COM_ZCombineNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_ZCombineNode.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/compositor/nodes/COM_ZCombineNode.cpp b/source/blender/compositor/nodes/COM_ZCombineNode.cpp
index 25d9a6e97d2..2495d1a5ab2 100644
--- a/source/blender/compositor/nodes/COM_ZCombineNode.cpp
+++ b/source/blender/compositor/nodes/COM_ZCombineNode.cpp
@@ -41,10 +41,10 @@ void ZCombineNode::convertToOperations(ExecutionSystem *system, CompositorContex
operation = new ZCombineOperation();
}
- 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(3)->relinkConnections(operation->getInputSocket(3), true, 3, 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->getInputSocket(3)->relinkConnections(operation->getInputSocket(3), 3, system);
this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket());
system->addOperation(operation);
if (this->getOutputSocket(1)->isConnected()) {
@@ -58,8 +58,8 @@ void ZCombineNode::convertToOperations(ExecutionSystem *system, CompositorContex
else {
if (this->getOutputSocket(1)->isConnected()) {
MathMinimumOperation * zoperation = new MathMinimumOperation();
- this->getInputSocket(1)->relinkConnections(zoperation->getInputSocket(0), true, 1, system);
- this->getInputSocket(3)->relinkConnections(zoperation->getInputSocket(1), true, 3, system);
+ this->getInputSocket(1)->relinkConnections(zoperation->getInputSocket(0), 1, system);
+ this->getInputSocket(3)->relinkConnections(zoperation->getInputSocket(1), 3, system);
this->getOutputSocket(1)->relinkConnections(zoperation->getOutputSocket());
system->addOperation(zoperation);
}