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:
authorCampbell Barton <ideasman42@gmail.com>2012-10-24 13:07:54 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-10-24 13:07:54 +0400
commit6d79568f66a1ddd39c151846c90f1d291dc7d8d9 (patch)
tree75dc3384b982e8e6587bade98e19cfabe24e4156 /source/blender/compositor
parentb0fc0baafe44cdb6e9de7a8d0b497940e00a09d9 (diff)
style cleanup
Diffstat (limited to 'source/blender/compositor')
-rw-r--r--source/blender/compositor/nodes/COM_PixelateNode.cpp16
-rw-r--r--source/blender/compositor/operations/COM_PixelateOperation.h10
2 files changed, 13 insertions, 13 deletions
diff --git a/source/blender/compositor/nodes/COM_PixelateNode.cpp b/source/blender/compositor/nodes/COM_PixelateNode.cpp
index 12494b6a2c3..6accc0d5ead 100644
--- a/source/blender/compositor/nodes/COM_PixelateNode.cpp
+++ b/source/blender/compositor/nodes/COM_PixelateNode.cpp
@@ -27,16 +27,16 @@
PixelateNode::PixelateNode(bNode *editorNode) : Node(editorNode)
{
- /* pass */
+ /* pass */
}
void PixelateNode::convertToOperations(ExecutionSystem *graph, CompositorContext *context)
{
- InputSocket *inputSocket = this->getInputSocket(0);
- OutputSocket *outputSocket = this->getOutputSocket(0);
-
- PixelateOperation *operation = new PixelateOperation(inputSocket->getDataType());
- inputSocket->relinkConnections(operation->getInputSocket(0), 0, graph);
- outputSocket->relinkConnections(operation->getOutputSocket(0));
- graph->addOperation(operation);
+ InputSocket *inputSocket = this->getInputSocket(0);
+ OutputSocket *outputSocket = this->getOutputSocket(0);
+
+ PixelateOperation *operation = new PixelateOperation(inputSocket->getDataType());
+ inputSocket->relinkConnections(operation->getInputSocket(0), 0, graph);
+ outputSocket->relinkConnections(operation->getOutputSocket(0));
+ graph->addOperation(operation);
}
diff --git a/source/blender/compositor/operations/COM_PixelateOperation.h b/source/blender/compositor/operations/COM_PixelateOperation.h
index 8da65bdcc70..c3e6975bbb8 100644
--- a/source/blender/compositor/operations/COM_PixelateOperation.h
+++ b/source/blender/compositor/operations/COM_PixelateOperation.h
@@ -27,12 +27,12 @@
class PixelateOperation : public NodeOperation {
private:
- SocketReader *m_inputOperation;
+ SocketReader *m_inputOperation;
public:
- PixelateOperation(DataType dataType);
- void initExecution();
- void deinitExecution();
- void executePixel(float output[4], float x, float y, PixelSampler sampler);
+ PixelateOperation(DataType dataType);
+ void initExecution();
+ void deinitExecution();
+ void executePixel(float output[4], float x, float y, PixelSampler sampler);
};
#endif