style cleanup: compositor, pointer syntax, function brace placement, line length

This commit is contained in:
2012-05-17 22:55:28 +00:00
parent 69b95e1a8a
commit 7862b2fa13
441 changed files with 2927 additions and 1972 deletions

View File

@@ -27,14 +27,15 @@
DistanceMatteNode::DistanceMatteNode(bNode *editorNode): Node(editorNode)
{}
void DistanceMatteNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context) {
void DistanceMatteNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context)
{
InputSocket *inputSocketImage = this->getInputSocket(0);
InputSocket *inputSocketKey = this->getInputSocket(1);
OutputSocket *outputSocketImage = this->getOutputSocket(0);
OutputSocket *outputSocketMatte = this->getOutputSocket(1);
DistanceMatteOperation *operation = new DistanceMatteOperation();
bNode* editorsnode = getbNode();
bNode *editorsnode = getbNode();
operation->setSettings((NodeChroma*)editorsnode->storage);
inputSocketImage->relinkConnections(operation->getInputSocket(0), true, 0, graph);