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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/compositor/nodes/COM_SwitchNode.cpp b/source/blender/compositor/nodes/COM_SwitchNode.cpp
index 1b15ae0e890..83e0be7d3c0 100644
--- a/source/blender/compositor/nodes/COM_SwitchNode.cpp
+++ b/source/blender/compositor/nodes/COM_SwitchNode.cpp
@@ -34,7 +34,8 @@ void SwitchNode::convertToOperations(ExecutionSystem *graph, CompositorContext *
if (!switchFrame) {
this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), true, 0, graph);
- } else {
+ }
+ else {
this->getInputSocket(1)->relinkConnections(operation->getInputSocket(0), true, 1, graph);
}
this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket());