Skip to content

AnimationClip: fix the way we compute the duration

Paul Lemire requested to merge lemirep/qt3d:patch1 into kde/5.15

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 Reviewed-by: Sean Harmer (cherry picked from commit 7b23cb1c) Reviewed-by: Paul Lemire

Merge request reports