[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [47880] trunk/blender/source/blender/ compositor/intern/COM_ExecutionSystem.cpp: resolutions were not propagated correctly.

Jeroen Bakker j.bakker at atmind.nl
Thu Jun 14 12:21:59 CEST 2012


Revision: 47880
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=47880
Author:   jbakker
Date:     2012-06-14 10:21:53 +0000 (Thu, 14 Jun 2012)
Log Message:
-----------
resolutions were not propagated correctly.

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/intern/COM_ExecutionSystem.cpp

Modified: trunk/blender/source/blender/compositor/intern/COM_ExecutionSystem.cpp
===================================================================
--- trunk/blender/source/blender/compositor/intern/COM_ExecutionSystem.cpp	2012-06-14 10:03:23 UTC (rev 47879)
+++ trunk/blender/source/blender/compositor/intern/COM_ExecutionSystem.cpp	2012-06-14 10:21:53 UTC (rev 47880)
@@ -212,7 +212,9 @@
 		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 @@
 			readoperation->readResolutionFromWriteBuffer();
 			this->addOperation(readoperation);
 		}
-		ExecutionSystemHelper::addLink(this->getConnections(), outputsocket, writeOperation->getInputSocket(0));
-		writeOperation->readResolutionFromInputSocket();
 	}
 }
 




More information about the Bf-blender-cvs mailing list