diff options
Diffstat (limited to 'source/blender/compositor/nodes/COM_SwitchNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_SwitchNode.cpp | 3 |
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()); |