diff options
Diffstat (limited to 'source/blender/compositor/nodes/COM_NormalNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_NormalNode.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/compositor/nodes/COM_NormalNode.cpp b/source/blender/compositor/nodes/COM_NormalNode.cpp index b54d8b8aab6..58b6ba1f410 100644 --- a/source/blender/compositor/nodes/COM_NormalNode.cpp +++ b/source/blender/compositor/nodes/COM_NormalNode.cpp @@ -26,14 +26,15 @@ #include "COM_DotproductOperation.h" #include "COM_SetVectorOperation.h" -NormalNode::NormalNode(bNode* editorNode): Node(editorNode) +NormalNode::NormalNode(bNode *editorNode): Node(editorNode) {} -void NormalNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context) { +void NormalNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context) +{ InputSocket *inputSocket = this->getInputSocket(0); OutputSocket *outputSocket = this->getOutputSocket(0); OutputSocket *outputSocketDotproduct = this->getOutputSocket(1); - bNode* editorNode = this->getbNode(); + bNode *editorNode = this->getbNode(); SetVectorOperation * operationSet = new SetVectorOperation(); bNodeSocket * insock = (bNodeSocket*)editorNode->outputs.first; |