diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-14 14:21:53 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-14 14:21:53 +0400 |
commit | 68386ef23a2b48f4a0ece2da1d8e5f66e0ef4bf6 (patch) | |
tree | 4eb67e60d018e66f82e3dc947195bf965ab8b604 | |
parent | 47950325a412e40a6d9ed89f7cef849f0d136a29 (diff) |
resolutions were not propagated correctly.
-rw-r--r-- | source/blender/compositor/intern/COM_ExecutionSystem.cpp | 6 |
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(); } } |