animations/source/animcore/animcore.cxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit f525b8898dcefe9e43e63e475c18d754ef000007 Author: Sarper Akdemir <q.sarperakde...@gmail.com> AuthorDate: Sun Aug 30 02:18:48 2020 +0300 Commit: Thorsten Behrens <thorsten.behr...@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.behr...@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 ), _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits