diff options
author | Volker Krause <volker.krause@kdab.com> | 2016-03-29 11:12:28 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-03-29 09:22:36 +0000 |
commit | 29bf14a5897ed038e13ee4549732a41703b0c321 (patch) | |
tree | 96ef6ed4cf1218a6232387f54ea9bac280059fe6 /examples/qt3d/lights/main.qml | |
parent | 3f0e37965753c1b2745f2cf0941811f4f2075731 (diff) |
Follow QSpotlight API changes.
Change-Id: I1b52c7c2f437a63738ae506e429e649e57768531
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/lights/main.qml')
-rw-r--r-- | examples/qt3d/lights/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qt3d/lights/main.qml b/examples/qt3d/lights/main.qml index 2a48ebaeb..26f6716f8 100644 --- a/examples/qt3d/lights/main.qml +++ b/examples/qt3d/lights/main.qml @@ -135,8 +135,8 @@ Entity translation: Qt.vector3d(-5.0, 40.0, -5.0) }, SpotLight { - direction: Qt.vector3d(1.0, -4.0, 0.0) - Quick.SequentialAnimation on direction.x { + localDirection: Qt.vector3d(1.0, -4.0, 0.0) + Quick.SequentialAnimation on localDirection.x { Quick.NumberAnimation { from: -4.0; to: 4.0; duration: 5000 } Quick.NumberAnimation { from: 4.0; to: -4.0; duration: 5000 } loops: Quick.Animation.Infinite |