summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp
diff options
context:
space:
mode:
authorJim Albamont <jim.albamont@kdab.com>2019-09-13 10:20:37 -0700
committerJim Albamont <jim.albamont@kdab.com>2019-09-20 00:37:31 -0700
commit41968b79393df2cb2c859f76b92922c7c5dbc3b1 (patch)
treee0086b688cd56c26009e26e28214b9628f68e9d8 /tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp
parentde4c982ceeb2abcdec8b214fd95e6e5d5d72b9ff (diff)
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 <paul.lemire@kdab.com>
Diffstat (limited to 'tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp')
-rw-r--r--tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp b/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp
index c8d862b2e..07adf12b5 100644
--- a/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp
+++ b/tests/auto/render/proximityfiltering/tst_proximityfiltering.cpp
@@ -247,10 +247,6 @@ private Q_SLOTS:
// WHEN
Qt3DRender::Render::Entity *backendRoot = aspect->nodeManagers()->renderNodesManager()->getOrCreateResource(entitySubtree->id());
- Qt3DRender::Render::UpdateEntityHierarchyJob updateEntitiesJob;
- updateEntitiesJob.setManager(aspect->nodeManagers());
- updateEntitiesJob.run();
-
Qt3DRender::Render::UpdateTreeEnabledJob updateTreeEnabledJob;
updateTreeEnabledJob.setRoot(backendRoot);
updateTreeEnabledJob.setManagers(aspect->nodeManagers());