-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lottie: Animation Segment(Marker) Support #2080
Conversation
@fall2019, could you please squash your unnecessary commits to the one? |
Okay. I usually use squash on merge option. Will try to squash later. |
Squashed all commits into one. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, Thank you so much for the efforts.
We'd love to have your patches.
Please check these comments:
1. Conflict Resolution
src/loaders/lottie/tvgLottieLoader.h
currently has a merge conflict.- Please ensure that the patch is conflict-free before merging.
2. Enhance Commit Message Clarity
- The current message simply states "POC"
- It would be beneficial to provide a more descriptive message that outlines the purpose of these changes.
- We strongly recommend referring to this guidance for composing meaningful commit messages.
3. Improve Commit Description Formatting:
Okay. Thanks for reviewing and your article is really helpful. Will resolve the comments later. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution, quickly examined the API design.
You're welcome. Will try to resolve soon. |
bcaeab9
to
60c58d0
Compare
Resolved all comments. |
Alright. Resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed "Animation Segment(Marker) Support" commit. It looks almost there. Thanks,
@fall2019 One more, please add yourself "https://github.com/thorvg/thorvg/blob/main/AUTHORS" please. |
Thanks. Resolved all comments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check comments.
@hermet Here, I wanna make sure two things. 1. Unit test 2. Support marker comment in JSON objects. "markers": [
{ "tm": 0, "cm": "{\\"name\\":\\"bird\\"}", "dr": 22 },
{ "tm": 22, "cm": "{\\"name\\":\\"explosion\\"}", "dr": 11 },
{ "tm": 33, "cm": "{\\"name\\":\\"feather\\"}", "dr": 77 }
] This is also from RFC, the |
@tinyjin Yes, It would be better to perform unit testing, but it's not mandatory in this PR. @fall2019 Since on this topic, Returning the list of marker names will be essential, so users can inquire about the available markers in the animation. Probably, like this:
The items(unit test and apis) mentioned above are not the main focus at this point but will become essential eventually. Therefore, it's up to you. If you'd like to include them, please update the PR accordingly. Thanks.
@tinyjin No, it shouldn't be. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed "Add example for Animation Segment(Marker)"
1a25975
to
f9dac3b
Compare
Add api Resolved all comments. |
A single animation might have a desinated markers with naming: 0 ~ 0.5 (sector A), 0.5 ~ 1.0 (sector B). Selecting one of them using a marker name(sector A) and could play only that part with animation controllers.
@fall2019. So far pretty good. Thanks. |
Okay. On your side. |
issue: #2044