diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-18 02:55:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-18 02:55:28 +0400 |
commit | 7862b2fa13c0437d9c17eae78e7b79a421dacf05 (patch) | |
tree | 08f9c26af3e71795d0f65803a415b5612d6b53ab /source/blender/compositor/nodes/COM_ColorBalanceNode.cpp | |
parent | 69b95e1a8a00c9ff146d803b8ec11183d7a68908 (diff) |
style cleanup: compositor, pointer syntax, function brace placement, line length
Diffstat (limited to 'source/blender/compositor/nodes/COM_ColorBalanceNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_ColorBalanceNode.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp b/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp index 8d5e8a2788e..32c9e50874e 100644 --- a/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp +++ b/source/blender/compositor/nodes/COM_ColorBalanceNode.cpp @@ -27,19 +27,20 @@ #include "BKE_node.h" #include "COM_MixBlendOperation.h" -ColorBalanceNode::ColorBalanceNode(bNode* editorNode): Node(editorNode) +ColorBalanceNode::ColorBalanceNode(bNode *editorNode): Node(editorNode) { } -void ColorBalanceNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context) { +void ColorBalanceNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context) +{ InputSocket *inputSocket = this->getInputSocket(0); InputSocket *inputImageSocket = this->getInputSocket(1); OutputSocket *outputSocket = this->getOutputSocket(0); - bNode* node = this->getbNode(); - NodeColorBalance *n= (NodeColorBalance *)node->storage; + bNode *node = this->getbNode(); + NodeColorBalance *n = (NodeColorBalance *)node->storage; NodeOperation*operation; if (node->custom1 == 0) { - ColorBalanceLGGOperation* operationLGG = new ColorBalanceLGGOperation(); + ColorBalanceLGGOperation *operationLGG = new ColorBalanceLGGOperation(); { int c; |