summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/pickboundingvolumejob/testscene_parententity.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/pickboundingvolumejob/testscene_parententity.qml')
-rw-r--r--tests/auto/render/pickboundingvolumejob/testscene_parententity.qml10
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/auto/render/pickboundingvolumejob/testscene_parententity.qml b/tests/auto/render/pickboundingvolumejob/testscene_parententity.qml
index 759544bb9..ce171de9e 100644
--- a/tests/auto/render/pickboundingvolumejob/testscene_parententity.qml
+++ b/tests/auto/render/pickboundingvolumejob/testscene_parententity.qml
@@ -96,7 +96,7 @@ Entity {
}
]
- CuboidMesh { id: cubeMesh }
+ GeometryRenderer { id: cubeMesh; view: CuboidMesh { } }
PhongMaterial { id: material }
// Parent Entity
@@ -104,9 +104,11 @@ Entity {
Entity {
components: [
- PlaneMesh {
- width: 100
- height: 100
+ GeometryRenderer {
+ view: PlaneMesh {
+ width: 100
+ height: 100
+ }
},
PhongMaterial {
}