diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-15 18:45:49 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-15 18:45:49 +0400 |
commit | f04546018f44ccaa038526cefc5fd2a212b2c20d (patch) | |
tree | 5364f988d74f06e745c7b5eced9b5b380e7e7d34 /source/blender/compositor/nodes/COM_ViewLevelsNode.cpp | |
parent | 4f80c3464fab5d79a06ab5b56b2bea6fc72acef7 (diff) |
style cleanup
Diffstat (limited to 'source/blender/compositor/nodes/COM_ViewLevelsNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_ViewLevelsNode.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/compositor/nodes/COM_ViewLevelsNode.cpp b/source/blender/compositor/nodes/COM_ViewLevelsNode.cpp index cedf81e3f2a..a7974efe954 100644 --- a/source/blender/compositor/nodes/COM_ViewLevelsNode.cpp +++ b/source/blender/compositor/nodes/COM_ViewLevelsNode.cpp @@ -26,21 +26,21 @@ #include "COM_CalculateMeanOperation.h" #include "COM_CalculateStandardDeviationOperation.h" -ViewLevelsNode::ViewLevelsNode(bNode *editorNode): Node(editorNode) +ViewLevelsNode::ViewLevelsNode(bNode *editorNode) : Node(editorNode) { } -void ViewLevelsNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context) +void ViewLevelsNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context) { - InputSocket * input = this->getInputSocket(0); + InputSocket *input = this->getInputSocket(0); bool firstOperationConnected = false; if (input->isConnected()) { OutputSocket *inputSocket = input->getConnection()->getFromSocket(); // add preview to inputSocket; - OutputSocket * socket = this->getOutputSocket(0); + OutputSocket *socket = this->getOutputSocket(0); if (socket->isConnected()) { // calculate mean operation - CalculateMeanOperation * operation = new CalculateMeanOperation(); + CalculateMeanOperation *operation = new CalculateMeanOperation(); input->relinkConnections(operation->getInputSocket(0), 0, graph); firstOperationConnected = true; operation->setSetting(this->getbNode()->custom1); @@ -51,7 +51,7 @@ void ViewLevelsNode::convertToOperations(ExecutionSystem *graph, CompositorConte socket = this->getOutputSocket(1); if (socket->isConnected()) { // calculate standard deviation operation - CalculateStandardDeviationOperation * operation = new CalculateStandardDeviationOperation(); + CalculateStandardDeviationOperation *operation = new CalculateStandardDeviationOperation(); if (firstOperationConnected) { addLink(graph, inputSocket, operation->getInputSocket(0)); } |