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:
Diffstat (limited to 'source/blender/compositor/nodes/COM_SwitchNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_SwitchNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/nodes/COM_SwitchNode.cpp b/source/blender/compositor/nodes/COM_SwitchNode.cpp
index c65d7fbdc61..58c60a96de8 100644
--- a/source/blender/compositor/nodes/COM_SwitchNode.cpp
+++ b/source/blender/compositor/nodes/COM_SwitchNode.cpp
@@ -35,10 +35,10 @@ void SwitchNode::convertToOperations(ExecutionSystem *graph, CompositorContext *
int switchFrame = this->getbNode()->custom1;
if (!switchFrame) {
- this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), true, 0, graph);
+ this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), 0, graph);
}
else {
- this->getInputSocket(1)->relinkConnections(operation->getInputSocket(0), true, 1, graph);
+ this->getInputSocket(1)->relinkConnections(operation->getInputSocket(0), 1, graph);
}
this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket());