From 7862b2fa13c0437d9c17eae78e7b79a421dacf05 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 17 May 2012 22:55:28 +0000 Subject: style cleanup: compositor, pointer syntax, function brace placement, line length --- source/blender/compositor/nodes/COM_ColorBalanceNode.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source/blender/compositor/nodes/COM_ColorBalanceNode.cpp') 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; -- cgit v1.2.3