diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-22 10:29:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-22 10:29:46 +0400 |
commit | 72f38b4f097120e6d4c5b3b0c9aceda7d1782583 (patch) | |
tree | b5bb0799f93a83d974d70ce66357f55fb063b77e /source/blender/compositor/nodes | |
parent | 5f95f7d2adb25ef7b821ec08f7f627664152d0b4 (diff) |
style cleanup: brace placement.
Diffstat (limited to 'source/blender/compositor/nodes')
-rw-r--r-- | source/blender/compositor/nodes/COM_DilateErodeNode.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/compositor/nodes/COM_DilateErodeNode.cpp b/source/blender/compositor/nodes/COM_DilateErodeNode.cpp index 55759ba410f..8f53c1ff8cc 100644 --- a/source/blender/compositor/nodes/COM_DilateErodeNode.cpp +++ b/source/blender/compositor/nodes/COM_DilateErodeNode.cpp @@ -47,18 +47,21 @@ void DilateErodeNode::convertToOperations(ExecutionSystem *graph, CompositorCont addLink(graph, operation->getOutputSocket(), antiAlias->getInputSocket(0)); this->getOutputSocket(0)->relinkConnections(antiAlias->getOutputSocket(0)); graph->addOperation(antiAlias); - } else { + } + else { this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket(0)); } graph->addOperation(operation); - } else { + } + else { if (editorNode->custom2 > 0) { DilateStepOperation * operation = new DilateStepOperation(); operation->setIterations(editorNode->custom2); this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0)); this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket(0)); graph->addOperation(operation); - } else { + } + else { ErodeStepOperation * operation = new ErodeStepOperation(); operation->setIterations(-editorNode->custom2); this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0)); |