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_MapValueNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_MapValueNode.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/compositor/nodes/COM_MapValueNode.cpp b/source/blender/compositor/nodes/COM_MapValueNode.cpp
index 834b74a552d..4ca93113dd5 100644
--- a/source/blender/compositor/nodes/COM_MapValueNode.cpp
+++ b/source/blender/compositor/nodes/COM_MapValueNode.cpp
@@ -25,13 +25,15 @@
#include "COM_MapValueOperation.h"
#include "COM_ExecutionSystem.h"
-MapValueNode::MapValueNode(bNode *editorNode): Node(editorNode) {
+MapValueNode::MapValueNode(bNode *editorNode): Node(editorNode)
+{
}
-void MapValueNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context) {
+void MapValueNode::convertToOperations(ExecutionSystem *graph, CompositorContext * context)
+{
InputSocket *colourSocket = this->getInputSocket(0);
OutputSocket *valueSocket = this->getOutputSocket(0);
- TexMapping* storage = (TexMapping*)this->getbNode()->storage;
+ TexMapping *storage = (TexMapping*)this->getbNode()->storage;
MapValueOperation *convertProg = new MapValueOperation();
convertProg->setSettings(storage);
colourSocket->relinkConnections(convertProg->getInputSocket(0), true, 0, graph);