diff options
Diffstat (limited to 'tests/manual/clip-planes-qml/ClippingPlanes.qml')
-rw-r--r-- | tests/manual/clip-planes-qml/ClippingPlanes.qml | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tests/manual/clip-planes-qml/ClippingPlanes.qml b/tests/manual/clip-planes-qml/ClippingPlanes.qml index 2fed0ce9c..7813dc770 100644 --- a/tests/manual/clip-planes-qml/ClippingPlanes.qml +++ b/tests/manual/clip-planes-qml/ClippingPlanes.qml @@ -83,10 +83,12 @@ Entity { } } - property PlaneMesh mesh: PlaneMesh { - width: 20.0 - height: 20.0 - meshResolution: Qt.size(2, 2) + property GeometryRenderer mesh: GeometryRenderer { + view: PlaneMesh { + width: 20.0 + height: 20.0 + meshResolution: Qt.size(2, 2) + } } components: [cappingMaterial, mesh, root.capsLayer] |