summaryrefslogtreecommitdiffstats
path: root/tests/manual/qtbug-76766/SceneRoot.qml
diff options
context:
space:
mode:
authorMike Krus <mike.krus@kdab.com>2020-02-11 14:14:30 +0000
committerMike Krus <mike.krus@kdab.com>2020-02-27 12:10:08 +0000
commit5bf4f93fcb8ff16aeadf55644be351c9989ab5b2 (patch)
tree9a502509da33a48dade8f7cbd0af1e7d3444b2f3 /tests/manual/qtbug-76766/SceneRoot.qml
parent703090204ef41bced5634bbb332551dea1dd7b37 (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/qtbug-76766/SceneRoot.qml')
-rw-r--r--tests/manual/qtbug-76766/SceneRoot.qml12
1 files changed, 4 insertions, 8 deletions
diff --git a/tests/manual/qtbug-76766/SceneRoot.qml b/tests/manual/qtbug-76766/SceneRoot.qml
index 6e34633b1..93e96a43d 100644
--- a/tests/manual/qtbug-76766/SceneRoot.qml
+++ b/tests/manual/qtbug-76766/SceneRoot.qml
@@ -111,8 +111,7 @@ Entity {
Material1 {
color: "red"
},
- SphereMesh {
- }
+ GeometryRenderer { view: SphereMesh { } }
]
}
@@ -125,8 +124,7 @@ Entity {
Material2 {
color: "green"
},
- SphereMesh {
- }
+ GeometryRenderer { view: SphereMesh { } }
]
}
}
@@ -149,8 +147,7 @@ Entity {
loops: Animation.Infinite
}
},
- SphereMesh {
- }
+ GeometryRenderer { view: SphereMesh { } }
]
}
@@ -164,8 +161,7 @@ Entity {
Material2 {
color: "orange"
},
- SphereMesh {
- }
+ GeometryRenderer { view: SphereMesh { } }
]
}
}