Several smaller fixes to Animators.
authorGunnar Sletta <gunnar.sletta@digia.com>
Fri, 4 Oct 2013 13:42:35 +0000 (15:42 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Tue, 8 Oct 2013 06:02:21 +0000 (08:02 +0200)
commitaeb8416d948b69d55dda45ed4ebe85585325fedc
tree47590a9df24e66f67719a5f74a4710b8418efd4c
parent29e3d02c26d264adb2b581b3511d29efb124f331
Several smaller fixes to Animators.

Backwards animations are not supported for animators as the
animation system cannot handle uncontrolled backwards animations.

Make sure we write back values only for the animators that have
run at all.

Clockwise rotation to 0 can easily end up on 360 as a result
the _q_interpolateClockwise function not being entirely correct.

Change-Id: If69b8555a1361f46600a40e80419b65438c18097
Reviewed-by: Michael Brasser <michael.brasser@live.com>
src/quick/util/qquickanimator.cpp
src/quick/util/qquickanimatorjob.cpp
src/quick/util/qquickanimatorjob_p.h