[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [55135] trunk/blender/source/blender/ compositor/intern/COM_ExecutionGroup.cpp: Fix for recent compo border commit

Sergey Sharybin sergey.vfx at gmail.com
Sat Mar 9 14:44:10 CET 2013


Revision: 55135
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=55135
Author:   nazgul
Date:     2013-03-09 13:44:09 +0000 (Sat, 09 Mar 2013)
Log Message:
-----------
Fix for recent compo border commit

Viewer operations shall be aware of border as well, otherwise
CPU would be busy for a while full compo isn't done for just
a small preview image in a node.

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

Modified: trunk/blender/source/blender/compositor/intern/COM_ExecutionGroup.cpp
===================================================================
--- trunk/blender/source/blender/compositor/intern/COM_ExecutionGroup.cpp	2013-03-09 13:13:04 UTC (rev 55134)
+++ trunk/blender/source/blender/compositor/intern/COM_ExecutionGroup.cpp	2013-03-09 13:44:09 UTC (rev 55135)
@@ -591,7 +591,7 @@
 {
 	NodeOperation *operation = this->getOutputNodeOperation();
 
-	if (operation->isViewerOperation()) {
+	if (operation->isViewerOperation() || operation->isPreviewOperation()) {
 		BLI_rcti_init(&this->m_viewerBorder, xmin * this->m_width, xmax * this->m_width,
 		              ymin * this->m_height, ymax * this->m_height);
 	}




More information about the Bf-blender-cvs mailing list