diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2015-03-23 15:48:54 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2015-04-27 10:09:20 +0000 |
commit | 2e34ef2d053cfa0c152442a758dda6296902c7c8 (patch) | |
tree | c415b937176f41fc05cc0262b41df1e38eb0a91f /examples/qt3d/loader-qml/main.qml | |
parent | 636a27e482f7085b25086250408f2d9dc4edbc5f (diff) |
Examples: fixed to work with QAbstractTransform as QObject
Also fixed QTransform to copy proper transformation matrix to work when loaded
in the backend and sent to the frontend.
Change-Id: Iec417fd49092b5e3d7971784327ff4bbfb75549b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/qt3d/loader-qml/main.qml')
-rw-r--r-- | examples/qt3d/loader-qml/main.qml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/qt3d/loader-qml/main.qml b/examples/qt3d/loader-qml/main.qml index 9857a5eaa..fa3e8ff5a 100644 --- a/examples/qt3d/loader-qml/main.qml +++ b/examples/qt3d/loader-qml/main.qml @@ -118,16 +118,16 @@ Entity { Rotate { id: sphereRotation axis: Qt.vector3d(0, 1, 0) - QQ2.NumberAnimation { - target: sphereRotation - property: "angle" - duration: 10000 - from: 0 - to: 360 - - loops: QQ2.Animation.Infinite - running: true - } } } + QQ2.NumberAnimation { + target: sphereRotation + property: "angle" + duration: 10000 + from: 0 + to: 360 + + loops: QQ2.Animation.Infinite + running: true + } } |