From 5bf4f93fcb8ff16aeadf55644be351c9989ab5b2 Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Tue, 11 Feb 2020 14:14:30 +0000 Subject: Make default geometries views In Extras, make QTorusMesh and others a QGeometryView rather than a QGeometryRenderer. Requires changes to scene graphs here and there but going forward there simple shapes could be used as proxies for picking or collision detection, etc. Change-Id: Id488e064080dfd303e448aba11e6b242236b81d4 Reviewed-by: Paul Lemire --- tests/manual/picking-qml/main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/manual/picking-qml') diff --git a/tests/manual/picking-qml/main.qml b/tests/manual/picking-qml/main.qml index 5ca50be0b..40bb8721c 100644 --- a/tests/manual/picking-qml/main.qml +++ b/tests/manual/picking-qml/main.qml @@ -150,7 +150,7 @@ Entity { InputSettings {} ] - CuboidMesh { id: cubeMesh } + GeometryRenderer { id: cubeMesh; view: CuboidMesh { } } PickableEntity { id: cube1 -- cgit v1.2.3