From 174cd487b4644a69853de9007b90cba989afe344 Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Thu, 30 Jul 2020 12:03:46 +0100 Subject: Make sample meshes geometry renderers again Introduce new geometry view class for each. Change-Id: I8e9a8f3a078d4cc63f9656ae8142e39f05d755c7 Reviewed-by: Paul Lemire --- examples/qt3d/simplecustommaterial/PlaneModel.qml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'examples/qt3d/simplecustommaterial/PlaneModel.qml') 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) } } -- cgit v1.2.3