diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-07-10 18:42:37 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-07-10 18:42:37 +0400 |
commit | a41dc719bf52f462ddabbb8cb1f8fb882f4affc9 (patch) | |
tree | 1d9162b679979f026d312980dfa46863b5ca83ee /source/blender/compositor/nodes | |
parent | 21f81ee279702441a398c6b592b25da9aee27d09 (diff) | |
parent | 9ac9040cfdea0ac30aa4e6f4e9adac0567f7e934 (diff) |
Movie Clip Node: skip putting frame to cache when rendering animation
This helps keeping memory usage low and have cached segments untouched
when mixing stuff like tracking and rendering -- now you wouldn't be
need to re-cache segment you're working on after rendering.
---
svn merge -r48550:48552 ^/branches/soc-2011-tomato
Diffstat (limited to 'source/blender/compositor/nodes')
-rw-r--r-- | source/blender/compositor/nodes/COM_MovieClipNode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/compositor/nodes/COM_MovieClipNode.cpp b/source/blender/compositor/nodes/COM_MovieClipNode.cpp index 89bd0e8549e..a250841b160 100644 --- a/source/blender/compositor/nodes/COM_MovieClipNode.cpp +++ b/source/blender/compositor/nodes/COM_MovieClipNode.cpp @@ -81,6 +81,7 @@ void MovieClipNode::convertToOperations(ExecutionSystem *graph, CompositorContex operation->setMovieClip(movieClip); operation->setMovieClipUser(movieClipUser); operation->setFramenumber(context->getFramenumber()); + operation->setCacheFrame(!context->isRendering()); graph->addOperation(operation); MovieTrackingStabilization *stab = &movieClip->tracking.stabilization; |