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_TonemapNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_TonemapNode.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/compositor/nodes/COM_TonemapNode.cpp b/source/blender/compositor/nodes/COM_TonemapNode.cpp
index a610146a495..7e170ea1704 100644
--- a/source/blender/compositor/nodes/COM_TonemapNode.cpp
+++ b/source/blender/compositor/nodes/COM_TonemapNode.cpp
@@ -25,11 +25,13 @@
#include "COM_TonemapOperation.h"
#include "COM_ExecutionSystem.h"
-TonemapNode::TonemapNode(bNode *editorNode): Node(editorNode) {
+TonemapNode::TonemapNode(bNode *editorNode): Node(editorNode)
+{
}
-void TonemapNode::convertToOperations(ExecutionSystem *system, CompositorContext * context) {
- NodeTonemap* data = (NodeTonemap*)this->getbNode()->storage;
+void TonemapNode::convertToOperations(ExecutionSystem *system, CompositorContext * context)
+{
+ NodeTonemap *data = (NodeTonemap*)this->getbNode()->storage;
TonemapOperation *operation = data->type==1?new PhotoreceptorTonemapOperation():new TonemapOperation();
operation->setData(data);