summaryrefslogtreecommitdiffstats
path: root/src/render/jobs/framepreparationjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/jobs/framepreparationjob.cpp')
-rw-r--r--src/render/jobs/framepreparationjob.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/jobs/framepreparationjob.cpp b/src/render/jobs/framepreparationjob.cpp
index 0d3d929e3..02908d335 100644
--- a/src/render/jobs/framepreparationjob.cpp
+++ b/src/render/jobs/framepreparationjob.cpp
@@ -79,6 +79,10 @@ void FramePreparationJob::parseNodeTree(Entity *node)
Q_FOREACH (ShaderData *r, shadersData) {
r->updateTransformedProperties(*node->worldTransform());
}
+
+ const QVector<Entity *> children = node->children();
+ Q_FOREACH (Entity *c, children)
+ parseNodeTree(c);
}
} // namespace Render