diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2019-10-15 17:01:06 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-10-17 12:04:16 +0200 |
commit | 92f29f8592f4067a07e57f81f8cde44df55c0756 (patch) | |
tree | cfea36bf8da0022f204c9d638c6f018421ad0b20 /src | |
parent | aee3dbc8b8f90b76d18ccc833b36dfb787c0bdc5 (diff) |
FrameGraphNode: mark dirty on cleanup
Otherwise the FG cache is not rebuilt and we might have dangling
pointers around.
Change-Id: Id97de41092617acbf067fcac4cf7805c2eb715da
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/render/framegraph/framegraphnode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/framegraph/framegraphnode.cpp b/src/render/framegraph/framegraphnode.cpp index 58ff05dc0..40d8fca3d 100644 --- a/src/render/framegraph/framegraphnode.cpp +++ b/src/render/framegraph/framegraphnode.cpp @@ -123,6 +123,7 @@ QVector<FrameGraphNode *> FrameGraphNode::children() const void FrameGraphNode::cleanup() { setParentId({}); + markDirty(AbstractRenderer::FrameGraphDirty); } void FrameGraphNode::syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) |