summaryrefslogtreecommitdiffstats
path: root/examples/qmlsurface/qml/qmlsurface/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmlsurface/qml/qmlsurface/main.qml')
-rw-r--r--examples/qmlsurface/qml/qmlsurface/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qmlsurface/qml/qmlsurface/main.qml b/examples/qmlsurface/qml/qmlsurface/main.qml
index 222879c6..f66e623b 100644
--- a/examples/qmlsurface/qml/qmlsurface/main.qml
+++ b/examples/qmlsurface/qml/qmlsurface/main.qml
@@ -54,7 +54,7 @@ Item {
surfaceGridEnabled: false
font.family: "STCaiyun"
font.pointSize: 35
- cameraPreset: Surface3D.CameraPresetIsometricLeft
+ scene.activeCamera.cameraPreset: Surface3D.CameraPresetIsometricLeft
dataProxy: surfaceData.heightProxy
axisY.min: 0.0
axisY.max: 250.0