diff options
author | Monique Dewanchand <m.dewanchand@atmind.nl> | 2013-02-03 21:22:26 +0400 |
---|---|---|
committer | Monique Dewanchand <m.dewanchand@atmind.nl> | 2013-02-03 21:22:26 +0400 |
commit | 2950214527812503b009995c638d2be37efaa22f (patch) | |
tree | fb56d981200952a73f1ffa24e8ad09380e84d398 /source/blender/compositor/nodes/COM_SocketProxyNode.h | |
parent | b58b107db409c877b523f90ff8feb5c4db7688a8 (diff) |
One fix for bug [#33785] compositor is (unnecessarily?) slow
Added additional buffers - new subtree - for groupnodes.
One needs to be aware of how groupnodes should be created.
Having translate & scale nodes, with the translate inside the groupnode and the scale node outside, causes artefacts.
Both should be inside or outside the groupnode. Same holds for other distort nodes.
Diffstat (limited to 'source/blender/compositor/nodes/COM_SocketProxyNode.h')
-rw-r--r-- | source/blender/compositor/nodes/COM_SocketProxyNode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/compositor/nodes/COM_SocketProxyNode.h b/source/blender/compositor/nodes/COM_SocketProxyNode.h index ea50be418e2..a83ac094b2b 100644 --- a/source/blender/compositor/nodes/COM_SocketProxyNode.h +++ b/source/blender/compositor/nodes/COM_SocketProxyNode.h @@ -30,8 +30,10 @@ * @ingroup Node */ class SocketProxyNode : public Node { +private: + bool m_buffer; public: - SocketProxyNode(bNode *editorNode, bNodeSocket *editorInput, bNodeSocket *editorOutput); + SocketProxyNode(bNode *editorNode, bNodeSocket *editorInput, bNodeSocket *editorOutput, bool buffer); void convertToOperations(ExecutionSystem *graph, CompositorContext *context); virtual bool isProxyNode() const { return true; } |