summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/wave/Wave.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/wave/Wave.qml')
-rw-r--r--examples/qt3d/wave/Wave.qml10
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/qt3d/wave/Wave.qml b/examples/qt3d/wave/Wave.qml
index 107502897..428ca8e56 100644
--- a/examples/qt3d/wave/Wave.qml
+++ b/examples/qt3d/wave/Wave.qml
@@ -81,10 +81,12 @@ Entity {
diffuse: Qt.rgba( root.intensity, root.intensity, root.intensity, 1.0 ) // Set how bright the wave is
}
- PlaneMesh {
+ GeometryView {
id: mesh
- width: 25.0
- height: 5.0
- meshResolution: Qt.size( 125, 50 )
+ view: PlaneMesh {
+ width: 25.0
+ height: 5.0
+ meshResolution: Qt.size( 125, 50 )
+ }
}
}