Skip to content

Revert "AnimationClip: fix the way we compute the duration"

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

Turns out we want the global clip duration and not the relative clip duration. Therefore global clip duration is always computed from 0. If the first keyframe is offset, then this means animation does nothing until t=offset.

This reverts commit 7b23cb1c.

Change-Id: Ic045a3cdea5eac4b8e35b75737e3ae6f00b9fa20 Reviewed-by: Paul Lemire paul.lemire@kdab.com (cherry picked from commit 98599dde) Reviewed-by: Qt Cherry-pick Bot cherrypick_bot@qt-project.org

Merge request reports