AnimationClip: fix the way we compute the duration
We wrongly assumed the start time of a clip was always 0. In practice this
might not be the case. Therefore, we now compute duration as tEnd - tStart.
Change-Id: I13ca860f3366c2aba5e978cb0c955e7bb2e7bc39
Pick-to: 6.2 5.15
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
| commit | 7b23cb1ca5b32fcf24f889e79cec756786f86233 |
| parent | 34c37671d63da2a195fee34b5a6409294b19d510 |
| author | Paul Lemire <paul.lemire@kdab.com> |
| committer | Paul Lemire <paul.lemire@kdab.com> |
| commit time | Wed, 24 Nov 2021 07:26:04 +0100 |