Skip to content
Snippets Groups Projects
Commit 048fe5c8 authored by Christian Strømme's avatar Christian Strømme
Browse files

Hook up the visibility property to the active flag

We may want more fine-grained control over visibilty later, but for now
let's assume that a non-visible nodes are inactive nodes.
parent 4a1fe79c
No related branches found
No related tags found
No related merge requests found
Pipeline #3200 passed
......@@ -242,6 +242,8 @@ QDemonRenderGraphObject *QDemonNode::updateSpatialNode(QDemonRenderGraphObject *
else
spacialNode->markDirty(QDemonRenderNode::TransformDirtyFlag::TransformNotDirty);
spacialNode->flags.setFlag(QDemonRenderNode::Flag::Active, m_visible);
return spacialNode;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment