Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/compositor/nodes/COM_InvertNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_InvertNode.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/compositor/nodes/COM_InvertNode.cpp b/source/blender/compositor/nodes/COM_InvertNode.cpp
index 2c47b467537..616a63ae948 100644
--- a/source/blender/compositor/nodes/COM_InvertNode.cpp
+++ b/source/blender/compositor/nodes/COM_InvertNode.cpp
@@ -26,12 +26,14 @@
#include "COM_ExecutionSystem.h"
#include "BKE_node.h"
-InvertNode::InvertNode(bNode *editorNode): Node(editorNode) {
+InvertNode::InvertNode(bNode *editorNode): Node(editorNode)
+{
}
-void InvertNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context) {
+void InvertNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context)
+{
InvertOperation *operation = new InvertOperation();
- bNode* node = this->getbNode();
+ bNode *node = this->getbNode();
operation->setColor(node->custom1 & CMP_CHAN_RGB);
operation->setAlpha(node->custom1 & CMP_CHAN_A);