From 2e34ef2d053cfa0c152442a758dda6296902c7c8 Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Mon, 23 Mar 2015 15:48:54 +0100 Subject: 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 --- examples/qt3d/scene3d/AnimatedEntity.qml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'examples/qt3d/scene3d/AnimatedEntity.qml') diff --git a/examples/qt3d/scene3d/AnimatedEntity.qml b/examples/qt3d/scene3d/AnimatedEntity.qml index 8c44fde0d..72d9787d6 100644 --- a/examples/qt3d/scene3d/AnimatedEntity.qml +++ b/examples/qt3d/scene3d/AnimatedEntity.qml @@ -118,18 +118,18 @@ 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 + } Entity { id: sphereEntity -- cgit v1.2.3