Fix curved position animation in LottieAnimation


The frame-to-position calculation in LottieSpatialProperty was wrong;
it applied the easing for one keyframe segment to the progress
percentage for the entire animation.

This commit fixes that, and also simplifies and optimizes the
calculation. Since we anyway keep the original position path elements
for each keyframe, there is no need to merge them into one big path
and do more costly calculations on that.

Pick-to: 6.12 6.11
Change-Id: I7180be8db0fff5417429398896df8955e195d939
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commitf3dc0a095c3a80bde3ccc58f2e7bb35bdec1cb46
parent8c8d02e7dbf579319a047f2b0a5a0ceddf11ec96
authorEirik Aavitsland <eirik.aavitsland@qt.io>
committerEirik Aavitsland <eirik.aavitsland@qt.io>
commit timeThu, 4 Jun 2026 08:35:05 +0000