summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/scene3d
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/scene3d')
-rw-r--r--examples/qt3d/scene3d/AnimatedEntity.qml20
1 files changed, 10 insertions, 10 deletions
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