style cleanup: more nodes
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user