diff options
Diffstat (limited to 'src/render/frontend/framegraph-components/qframegraphnode.cpp')
-rw-r--r-- | src/render/frontend/framegraph-components/qframegraphnode.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/frontend/framegraph-components/qframegraphnode.cpp b/src/render/frontend/framegraph-components/qframegraphnode.cpp index 7bf379b4b..d3cf5f835 100644 --- a/src/render/frontend/framegraph-components/qframegraphnode.cpp +++ b/src/render/frontend/framegraph-components/qframegraphnode.cpp @@ -65,6 +65,10 @@ QFrameGraphNodePrivate::QFrameGraphNodePrivate(QFrameGraphNode *qq) void QFrameGraphNode::copy(const QNode *ref) { QNode::copy(ref); + const QFrameGraphNode *refNode = static_cast<const QFrameGraphNode *>(ref); + Q_FOREACH (QFrameGraphNode *fgChild, refNode->d_func()->m_fgChildren) + appendFrameGraphNode(qobject_cast<QFrameGraphNode *>(QNode::clone(fgChild))); + } QFrameGraphNode::QFrameGraphNode(QNode *parent) |