From 41968b79393df2cb2c859f76b92922c7c5dbc3b1 Mon Sep 17 00:00:00 2001 From: Jim Albamont Date: Fri, 13 Sep 2019 10:20:37 -0700 Subject: Remove backend entity hierarchy rebuilding jobs We no longer need to have a special job to rebuild the entity hierarchy as parent nodes can now always be resolved on the backend either at creation time or while reparenting. The NodePostConstructorInit ensure that all backend nodes are created from the top down so a node can always find it's parent. Change-Id: I9dcfb64b62e2e02b89b1ae59efb41f25dfc09eae Reviewed-by: Paul Lemire --- .../auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/auto/render/pickboundingvolumejob') diff --git a/tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp b/tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp index a8ffa9712..1fbdc4d04 100644 --- a/tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp +++ b/tests/auto/render/pickboundingvolumejob/tst_pickboundingvolumejob.cpp @@ -48,7 +48,6 @@ #include #include #include -#include #include #include #include @@ -150,10 +149,6 @@ namespace { void runRequiredJobs(Qt3DRender::TestAspect *test) { - Qt3DRender::Render::UpdateEntityHierarchyJob updateEntitiesJob; - updateEntitiesJob.setManager(test->nodeManagers()); - updateEntitiesJob.run(); - Qt3DRender::Render::UpdateWorldTransformJob updateWorldTransform; updateWorldTransform.setRoot(test->sceneRoot()); updateWorldTransform.setManagers(test->nodeManagers()); -- cgit v1.2.3