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:
authorJeroen Bakker <j.bakker@atmind.nl>2012-06-14 14:21:53 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-06-14 14:21:53 +0400
commit68386ef23a2b48f4a0ece2da1d8e5f66e0ef4bf6 (patch)
tree4eb67e60d018e66f82e3dc947195bf965ab8b604 /source/blender/compositor/intern/COM_ExecutionSystem.cpp
parent47950325a412e40a6d9ed89f7cef849f0d136a29 (diff)
resolutions were not propagated correctly.
Diffstat (limited to 'source/blender/compositor/intern/COM_ExecutionSystem.cpp')
-rw-r--r--source/blender/compositor/intern/COM_ExecutionSystem.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionSystem.cpp b/source/blender/compositor/intern/COM_ExecutionSystem.cpp
index b84e9d0d3f7..7ea97b3fa39 100644
--- a/source/blender/compositor/intern/COM_ExecutionSystem.cpp
+++ b/source/blender/compositor/intern/COM_ExecutionSystem.cpp
@@ -212,7 +212,9 @@ void ExecutionSystem::addReadWriteBufferOperations(NodeOperation *operation)
writeOperation = new WriteBufferOperation();
writeOperation->setbNodeTree(this->getContext().getbNodeTree());
this->addOperation(writeOperation);
- for (index = 0 ; index < outputsocket->getNumberOfConnections();index ++) {
+ ExecutionSystemHelper::addLink(this->getConnections(), outputsocket, writeOperation->getInputSocket(0));
+ writeOperation->readResolutionFromInputSocket();
+ for (index = 0 ; index < outputsocket->getNumberOfConnections()-1;index ++) {
SocketConnection * connection = outputsocket->getConnection(index);
ReadBufferOperation *readoperation = new ReadBufferOperation();
readoperation->setMemoryProxy(writeOperation->getMemoryProxy());
@@ -221,8 +223,6 @@ void ExecutionSystem::addReadWriteBufferOperations(NodeOperation *operation)
readoperation->readResolutionFromWriteBuffer();
this->addOperation(readoperation);
}
- ExecutionSystemHelper::addLink(this->getConnections(), outputsocket, writeOperation->getInputSocket(0));
- writeOperation->readResolutionFromInputSocket();
}
}