diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-09 17:44:09 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-03-09 17:44:09 +0400 |
commit | 964cead5b1826f859ac3371ad7f0d9f4665c229f (patch) | |
tree | 7e60940f93c82e474e6f35cc1b2112828f5f5c92 /source/blender/compositor/intern/COM_ExecutionGroup.cpp | |
parent | b2397db100fe182edc67d297fea4584ed6963495 (diff) |
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.
Diffstat (limited to 'source/blender/compositor/intern/COM_ExecutionGroup.cpp')
-rw-r--r-- | source/blender/compositor/intern/COM_ExecutionGroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionGroup.cpp b/source/blender/compositor/intern/COM_ExecutionGroup.cpp index 0868fccceaa..6d01e2f7824 100644 --- a/source/blender/compositor/intern/COM_ExecutionGroup.cpp +++ b/source/blender/compositor/intern/COM_ExecutionGroup.cpp @@ -591,7 +591,7 @@ void ExecutionGroup::setViewerBorder(float xmin, float xmax, float ymin, float y { 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); } |