diff options
author | Mike Krus <mike.krus@kdab.com> | 2020-02-11 14:14:30 +0000 |
---|---|---|
committer | Mike Krus <mike.krus@kdab.com> | 2020-02-27 12:10:08 +0000 |
commit | 5bf4f93fcb8ff16aeadf55644be351c9989ab5b2 (patch) | |
tree | 9a502509da33a48dade8f7cbd0af1e7d3444b2f3 /tests/manual/animation-keyframe-programmatic | |
parent | 703090204ef41bced5634bbb332551dea1dd7b37 (diff) |
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 <paul.lemire@kdab.com>
Diffstat (limited to 'tests/manual/animation-keyframe-programmatic')
-rw-r--r-- | tests/manual/animation-keyframe-programmatic/main.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/animation-keyframe-programmatic/main.qml b/tests/manual/animation-keyframe-programmatic/main.qml index c34e44d51..8c9d3d3f7 100644 --- a/tests/manual/animation-keyframe-programmatic/main.qml +++ b/tests/manual/animation-keyframe-programmatic/main.qml @@ -66,7 +66,8 @@ DefaultSceneEntity { onTranslationChanged: console.log("t = " + translation) }, - CuboidMesh { + GeometryRenderer { + view: CuboidMesh { } }, PhongMaterial { id: cubeMaterial |