aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaj Grönholm <kaj.gronholm@qt.io>2023-11-15 13:29:44 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-11-16 15:26:27 +0000
commit1d28edc94e39dcfd0ac5117995436e30f82c7ac2 (patch)
tree90153ca73d64c24c12deef88385eef14784cd3be
parent65056ff8ccf4eae767bdf1dbf229e0ee9492210b (diff)
Fix some particles example animations
QML animations with syntax "NumberAnimation on [x]" run automatically, while plain NumberAnimations don't. Since changes made in f7cc7656e2 we need to set these animations running. Change-Id: I4df85f96f30be7520251911d0f8702118e1cf5c1 Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: Andy Nichols <andy.nichols@qt.io> (cherry picked from commit ec4ce11789eaafce091893246db59bfc4e6eb4b6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/quick3d/particles3d/Fire.qml1
-rw-r--r--examples/quick3d/particles3d/HeartTrail.qml1
-rw-r--r--examples/quick3d/particles3d/OceanSpider.qml2
-rw-r--r--examples/quick3d/particles3d/StartupView.qml1
4 files changed, 5 insertions, 0 deletions
diff --git a/examples/quick3d/particles3d/Fire.qml b/examples/quick3d/particles3d/Fire.qml
index 1864fa5d..e0ac513a 100644
--- a/examples/quick3d/particles3d/Fire.qml
+++ b/examples/quick3d/particles3d/Fire.qml
@@ -38,6 +38,7 @@ Item {
// Add some liveness to the light
SequentialAnimation{
loops: Animation.Infinite
+ running: true
NumberAnimation {
target: pointLight
property: "animatedBrightness"
diff --git a/examples/quick3d/particles3d/HeartTrail.qml b/examples/quick3d/particles3d/HeartTrail.qml
index 659570af..d66e0c9c 100644
--- a/examples/quick3d/particles3d/HeartTrail.qml
+++ b/examples/quick3d/particles3d/HeartTrail.qml
@@ -30,6 +30,7 @@ Item {
// Add some liveness to the light
SequentialAnimation {
loops: Animation.Infinite
+ running: true
NumberAnimation {
target: pointLight
property: "animatedBrightness"
diff --git a/examples/quick3d/particles3d/OceanSpider.qml b/examples/quick3d/particles3d/OceanSpider.qml
index 2c0f203a..c8562240 100644
--- a/examples/quick3d/particles3d/OceanSpider.qml
+++ b/examples/quick3d/particles3d/OceanSpider.qml
@@ -20,6 +20,7 @@ Item {
// Animate tentacle movement
SequentialAnimation {
loops: Animation.Infinite
+ running: true
NumberAnimation {
target: mainWindow
property: "tentacleWideness"
@@ -161,6 +162,7 @@ Item {
fadeOutDuration: 800
billboard: true
SequentialAnimation {
+ running: true
loops: Animation.Infinite
ColorAnimation {
target: tentacleParticle
diff --git a/examples/quick3d/particles3d/StartupView.qml b/examples/quick3d/particles3d/StartupView.qml
index 6e3097c1..87e67091 100644
--- a/examples/quick3d/particles3d/StartupView.qml
+++ b/examples/quick3d/particles3d/StartupView.qml
@@ -139,6 +139,7 @@ Item {
ambientColor: Qt.rgba(0.5, 0.3, 0.1, 1.0)
SequentialAnimation {
loops: Animation.Infinite
+ running: true
NumberAnimation {
target: pointLight
property: "brightness"