Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[LottieGen] Added workaround to make path animations playable even with different number of segments in keyframes #495

Merged
merged 3 commits into from
May 2, 2022

Conversation

aborziak-ms
Copy link
Collaborator

Some animations can't be played in Lottie-Windows because of WinComp Api limitation: number of segments in path animation should be the same for all keyframes, but After Effects supports animation with any number of segments.

Added a workaround to make number of segments equal for all the keyframes by adding 0-length segments to the path at the end. It may result in a little bit different animation from what you see in After Effects.

#493

@aborziak-ms aborziak-ms requested a review from a team April 20, 2022 23:02
Copy link

@raymond-wh-leung raymond-wh-leung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@aborziak-ms
Copy link
Collaborator Author

Added warning if this state is detected

Copy link

@raymond-wh-leung raymond-wh-leung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link

@raymond-wh-leung raymond-wh-leung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Copy link

@raymond-wh-leung raymond-wh-leung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@aborziak-ms aborziak-ms merged commit 3c1e744 into main May 2, 2022
@delete-merged-branch delete-merged-branch bot deleted the path-animation-fix branch May 2, 2022 17:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants