diff options
author | Monique Dewanchand <m.dewanchand@atmind.nl> | 2013-02-17 00:21:41 +0400 |
---|---|---|
committer | Monique Dewanchand <m.dewanchand@atmind.nl> | 2013-02-17 00:21:41 +0400 |
commit | 9cd01c6a5c68543ed40bfe33d5faa564006b0717 (patch) | |
tree | 8c6bcbed2d7a3adb50475e63e1251225035d357c /source/blender/compositor/intern/COM_CompositorContext.h | |
parent | 500bc0c5e948079bd0ab7bd2c96a78a1451964f1 (diff) |
Added option for group node buffering in the compositor.
Justa cluster did not have enough memory to handle all Mango 4k scenes.
Option is default disabled and can be enabled in the performance panel.
- At Mind -
Diffstat (limited to 'source/blender/compositor/intern/COM_CompositorContext.h')
-rw-r--r-- | source/blender/compositor/intern/COM_CompositorContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/compositor/intern/COM_CompositorContext.h b/source/blender/compositor/intern/COM_CompositorContext.h index 2f5e8c0648d..840a9e59584 100644 --- a/source/blender/compositor/intern/COM_CompositorContext.h +++ b/source/blender/compositor/intern/COM_CompositorContext.h @@ -74,7 +74,7 @@ private: * @brief does this system have active opencl devices? */ bool m_hasActiveOpenCLDevices; - + /** * @brief Skip slow nodes */ @@ -178,6 +178,7 @@ public: void setFastCalculation(bool fastCalculation) {this->m_fastCalculation = fastCalculation;} bool isFastCalculation() {return this->m_fastCalculation;} + inline bool isGroupnodeBufferEnabled() {return this->getbNodeTree()->flag & NTREE_COM_GROUPNODE_BUFFER;} }; |