| commit | 9605b998438a62501f58c6e028f79b679629b333 | [log] |
|---|---|---|
| author | Mark Hung <marklh9@gmail.com> | Thu Jul 26 20:19:34 2018 +0800 |
| committer | Mark Hung <marklh9@gmail.com> | Fri Jul 27 16:23:39 2018 +0200 |
| tree | 46ea966f82aeffaad699ad31a77fc62082702150 | |
| parent | cba1c7421338324cb6c91511a294c4861e665c29 [diff] |
tdf#76436 initialize maStartInterpolationValue. Fix regrssion caused by 372c47309a192e67220913309fa1ccffdff8cde1, where a from-to or from-by animation always interpolate with a empty maStartInterpolationValue, ignoring original from value. That also affect many animations, such as unexpected magnify effect at the end of put-on-the-brake animation. Change-Id: If63960816f2f284774c51e12be2fcac8c8a1b57e Reviewed-on: https://gerrit.libreoffice.org/58109 Tested-by: Jenkins Reviewed-by: Mark Hung <marklh9@gmail.com>
diff --git a/slideshow/source/engine/activities/activitiesfactory.cxx b/slideshow/source/engine/activities/activitiesfactory.cxx index dadd590..1955be3 100644 --- a/slideshow/source/engine/activities/activitiesfactory.cxx +++ b/slideshow/source/engine/activities/activitiesfactory.cxx
@@ -208,6 +208,7 @@ public: maStartValue = *maFrom; maEndValue = maStartValue + *maBy; } maStartInterpolationValue = maStartValue; } else {