[Libreoffice-commits] core.git: slideshow/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Jul 27 14:24:07 UTC 2018


 slideshow/source/engine/activities/activitiesfactory.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9605b998438a62501f58c6e028f79b679629b333
Author:     Mark Hung <marklh9 at gmail.com>
AuthorDate: Thu Jul 26 20:19:34 2018 +0800
Commit:     Mark Hung <marklh9 at gmail.com>
CommitDate: Fri Jul 27 16:23:39 2018 +0200

    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 at gmail.com>

diff --git a/slideshow/source/engine/activities/activitiesfactory.cxx b/slideshow/source/engine/activities/activitiesfactory.cxx
index dadd590257e0..1955be399fe1 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
         {


More information about the Libreoffice-commits mailing list