aboutsummaryrefslogtreecommitdiffstats
path: root/src/labs
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2025-12-18 09:32:04 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-12-22 16:52:46 +0000
commit3c37a99cfb8d9dfb9e69aeb32bd609223a4aad22 (patch)
tree7ad88b271f82489b9554f18d1039ce29452f3178 /src/labs
parent15cd1f8e4fd6e1e1e1bb621cae465d66acf9ed91 (diff)
qml generator: Reduce redundancy in animation output6.11
Whenever three consecutive keyframes have the same value, the middle one is redundant. Simplify the produced QML code by removing such keyframes. The practical result is that consecutive PauseAnimations get squashed into one. For animated (morphing) paths, simplify further by detecting if two consecutive paths are identical. Then the second is redundant, so drop it and instead make the PathInterpolated factor point at the first one for the keyframe(s) for the second. Change-Id: I7a77c73c6fd98f574fcf26f4dad45ca92a0def0b Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 04466da863f51a852cbb19814c05016018d7ca54) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/labs')
0 files changed, 0 insertions, 0 deletions