diff options
Diffstat (limited to 'tests/manual/dynamic-model-loader-qml/main.qml')
-rw-r--r-- | tests/manual/dynamic-model-loader-qml/main.qml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/tests/manual/dynamic-model-loader-qml/main.qml b/tests/manual/dynamic-model-loader-qml/main.qml index dc6b929cf..a403d2829 100644 --- a/tests/manual/dynamic-model-loader-qml/main.qml +++ b/tests/manual/dynamic-model-loader-qml/main.qml @@ -128,8 +128,9 @@ Entity { QQ2.Component { id: cylEntityCmp Entity { - CylinderMesh { + GeometryRenderer { id: cylMesh + view: CylinderMesh { } } PhongMaterial { id: phong @@ -142,12 +143,14 @@ Entity { QQ2.Component { id: torusEntityCmp Entity { - TorusMesh { + GeometryRenderer { id: torusMesh - radius: 5 - minorRadius: 1 - rings: 100 - slices: 20 + view: TorusMesh { + radius: 5 + minorRadius: 1 + rings: 100 + slices: 20 + } } Transform { |