diff options
Diffstat (limited to 'examples/qt3d/simplecustommaterial/PlaneModel.qml')
-rw-r--r-- | examples/qt3d/simplecustommaterial/PlaneModel.qml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/examples/qt3d/simplecustommaterial/PlaneModel.qml b/examples/qt3d/simplecustommaterial/PlaneModel.qml index bc95f8600..b5271fe0c 100644 --- a/examples/qt3d/simplecustommaterial/PlaneModel.qml +++ b/examples/qt3d/simplecustommaterial/PlaneModel.qml @@ -67,12 +67,10 @@ Entity { rotationX: 45 } - GeometryRenderer { + PlaneMesh { id: mesh - view: PlaneMesh { - width: 1.0 - height: 1.0 - meshResolution: Qt.size(2, 2) - } + width: 1.0 + height: 1.0 + meshResolution: Qt.size(2, 2) } } |