summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene2d/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/scene2d/main.qml')
-rw-r--r--examples/qt3d/scene2d/main.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/qt3d/scene2d/main.qml b/examples/qt3d/scene2d/main.qml
index ceaac3b34..671ab3990 100644
--- a/examples/qt3d/scene2d/main.qml
+++ b/examples/qt3d/scene2d/main.qml
@@ -137,8 +137,9 @@ Entity {
rotation: fromAxisAndAngle(Qt.vector3d(0,1,0), cube.rotationAngle)
}
- CuboidMesh {
+ GeometryRenderer {
id: cubeMesh
+ view: CuboidMesh { }
}
ObjectPicker {