[Libreoffice-commits] core.git: animations/source
Sarper Akdemir (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 31 10:28:17 UTC 2020
animations/source/animcore/animcore.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit f525b8898dcefe9e43e63e475c18d754ef000007
Author: Sarper Akdemir <q.sarperakdemir at gmail.com>
AuthorDate: Sun Aug 30 02:18:48 2020 +0300
Commit: Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Mon Aug 31 12:27:39 2020 +0200
add missing initializers about physics animations to AnimationNode class
fixes the case when a physics animation preset is imported it
doesn't have any information about start velocity, density or
bounciness paramaters.
Change-Id: Ic817afb211597ad553ccc3a43fe24bfbebadbc43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101656
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index 107353cf327a..b87482a0c4cd 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -488,6 +488,12 @@ AnimationNode::AnimationNode( const AnimationNode& rNode )
maPath( rNode.maPath ),
maOrigin( rNode.maOrigin ),
+ // attributes for XAnimatePhysics
+ maStartVelocityX( rNode.maStartVelocityX ),
+ maStartVelocityY( rNode.maStartVelocityY ),
+ maDensity( rNode.maDensity ),
+ maBounciness( rNode.maBounciness ),
+
// attributes for XAnimateTransform
mnTransformType( rNode.mnTransformType ),
More information about the Libreoffice-commits
mailing list