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>2013-02-04 04:05:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-04 04:05:15 +0400
commit9d4be17de42deb3109febc8433bf2acea2196218 (patch)
tree7ed222c562345ebea77f046e850c042404cb7441 /source/blender/compositor/nodes/COM_SocketProxyNode.cpp
parentc584e01beeaa8c800f9b50bbe9d866037b42230b (diff)
style cleanup
Diffstat (limited to 'source/blender/compositor/nodes/COM_SocketProxyNode.cpp')
-rw-r--r--source/blender/compositor/nodes/COM_SocketProxyNode.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/compositor/nodes/COM_SocketProxyNode.cpp b/source/blender/compositor/nodes/COM_SocketProxyNode.cpp
index e6026675d20..185fa502fcd 100644
--- a/source/blender/compositor/nodes/COM_SocketProxyNode.cpp
+++ b/source/blender/compositor/nodes/COM_SocketProxyNode.cpp
@@ -52,22 +52,22 @@ void SocketProxyNode::convertToOperations(ExecutionSystem *graph, CompositorCont
InputSocket *inputsocket = this->getInputSocket(0);
if (outputsocket->isConnected()) {
if (inputsocket->isConnected()) {
- SocketProxyOperation *operation = new SocketProxyOperation(this->getOutputSocket()->getDataType());
+ SocketProxyOperation *operation = new SocketProxyOperation(this->getOutputSocket()->getDataType());
inputsocket->relinkConnections(operation->getInputSocket(0));
outputsocket->relinkConnections(operation->getOutputSocket(0));
graph->addOperation(operation);
- if (m_buffer){
- WriteBufferOperation * writeOperation = new WriteBufferOperation();
- ReadBufferOperation * readOperation = new ReadBufferOperation();
- readOperation->setMemoryProxy(writeOperation->getMemoryProxy());
+ if (m_buffer) {
+ WriteBufferOperation *writeOperation = new WriteBufferOperation();
+ ReadBufferOperation *readOperation = new ReadBufferOperation();
+ readOperation->setMemoryProxy(writeOperation->getMemoryProxy());
- operation->getOutputSocket()->relinkConnections(readOperation->getOutputSocket());
- addLink(graph, operation->getOutputSocket(), writeOperation->getInputSocket(0));
+ operation->getOutputSocket()->relinkConnections(readOperation->getOutputSocket());
+ addLink(graph, operation->getOutputSocket(), writeOperation->getInputSocket(0));
- graph->addOperation(writeOperation);
- graph->addOperation(readOperation);
- }
- }
+ graph->addOperation(writeOperation);
+ graph->addOperation(readOperation);
+ }
+ }
else {
/* If input is not connected, add a constant value operation instead */
switch (outputsocket->getDataType()) {