style cleanup: more nodes

This commit is contained in:
2012-06-15 17:57:39 +00:00
parent 687b6e5447
commit cde4d72848
110 changed files with 593 additions and 474 deletions

View File

@@ -25,15 +25,16 @@
#include "COM_BokehImageOperation.h"
#include "COM_ExecutionSystem.h"
BokehImageNode::BokehImageNode(bNode *editorNode): Node(editorNode)
BokehImageNode::BokehImageNode(bNode *editorNode) : Node(editorNode)
{
/* pass */
}
void BokehImageNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context)
void BokehImageNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context)
{
BokehImageOperation *operation = new BokehImageOperation();
this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket(0));
graph->addOperation(operation);
operation->setData((NodeBokehImage*)this->getbNode()->storage);
operation->setData((NodeBokehImage *)this->getbNode()->storage);
addPreviewOperation(graph, operation->getOutputSocket(0));
}