diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-01-25 19:25:15 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2017-01-27 18:32:25 +0000 |
commit | 744c51c33e4da37bb70528f5398e56e5faf5c504 (patch) | |
tree | fb38379202c9a520fdcebd44a749bfdd467c0bb2 /tests/manual/animation-keyframe-simple/main.qml | |
parent | 78a032e2328dddf0f60c0fe3063047888b92cc2a (diff) |
Calculate animation clip duration and send to frontend
Change-Id: Iaafb8b385658be446098d982702955810f76d7c6
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/manual/animation-keyframe-simple/main.qml')
-rw-r--r-- | tests/manual/animation-keyframe-simple/main.qml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/manual/animation-keyframe-simple/main.qml b/tests/manual/animation-keyframe-simple/main.qml index 587f851c5..e53772434 100644 --- a/tests/manual/animation-keyframe-simple/main.qml +++ b/tests/manual/animation-keyframe-simple/main.qml @@ -35,6 +35,8 @@ DefaultSceneEntity { running: true clip: AnimationClip { source: "cubeanimation.json" + + onDurationChanged: console.log("duration = " + duration) } // By default introspect parent Entity and try |