summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/lights/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/lights/main.qml')
-rw-r--r--examples/qt3d/lights/main.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/qt3d/lights/main.qml b/examples/qt3d/lights/main.qml
index 99bc1147d..1cfeb0cd4 100644
--- a/examples/qt3d/lights/main.qml
+++ b/examples/qt3d/lights/main.qml
@@ -59,9 +59,7 @@ Entity
viewCenter: Qt.vector3d( 0.0, -10.0, -1.0 )
}
- Configuration {
- controlledCamera: camera
- }
+ FirstPersonCameraController { camera: camera }
Entity {
id: sun