diff options
Diffstat (limited to 'tests/manual/scene3d-loader/AnimatedEntity.qml')
-rw-r--r-- | tests/manual/scene3d-loader/AnimatedEntity.qml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/tests/manual/scene3d-loader/AnimatedEntity.qml b/tests/manual/scene3d-loader/AnimatedEntity.qml index 0f6b7da1a..5c406dbf6 100644 --- a/tests/manual/scene3d-loader/AnimatedEntity.qml +++ b/tests/manual/scene3d-loader/AnimatedEntity.qml @@ -84,12 +84,14 @@ Entity { id: material } - TorusMesh { + GeometryRenderer { id: torusMesh - radius: 5 - minorRadius: 1 - rings: 100 - slices: 20 + view: TorusMesh { + radius: 5 + minorRadius: 1 + rings: 100 + slices: 20 + } } Transform { @@ -103,9 +105,11 @@ Entity { components: [ torusMesh, material, torusTransform ] } - SphereMesh { + GeometryRenderer { id: sphereMesh - radius: 3 + view: SphereMesh { + radius: 3 + } } Transform { |