-
-
Notifications
You must be signed in to change notification settings - Fork 333
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 Exporter] Added support for Vector X and Vector Y convert method #1516
Conversation
This pull request introduces 2 alerts when merging c83a422 into 15080f9 - view on LGTM.com new alerts:
|
self.subparams["vectory"].extract_subparams() | ||
vector, eff_1 = self.subparams["vectory"].subparams["vector"].recur_animate("vector") | ||
self.expression_controllers.extend(eff_1) | ||
if self.dimension == 2: |
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.
I think we can write this statement as:
ret = "[{y}[1], {y}[1]]" if self.dimension == 2 else "{y}[1]"
This is more compact and removes the warnings on lgtm
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.
Changed the statement ^__^
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.
I have tested this PR and it works perfectly. :D
Just one suggestion for code style.
Keep up the good work @saurabh-ramola ^__^
8ae088b
to
1aae12e
Compare
Merged. Thank you! |
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (#1101) - [Lottie exporter] Add support for variable gamma correction (#1174) - Changes made to offsetKeyFrame file (#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (#1236 #1254 #1286 #1363 #1409 #1447 #1446 #1516 #1515 #1593 #1586 #1619 #1606 #1650 #1587) - Add support for blur layers (#1505) - Add support for Outline layer without variable widths (#1647) - Improve support for exported values (#2182) - Some code cleanup (#1199 #1213 #1226 #1456 #2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
- Convert methods not working with radius of simple circle layer (synfig#1101) - [Lottie exporter] Add support for variable gamma correction (synfig#1174) - Changes made to offsetKeyFrame file (synfig#1233) - Add support for converters: sine, cos, integer, linear gradient, aTan2, Vector angle, radial_composite, radial gradient, vector x, vector y, power, dot product, logarithm, reciprocal, range, vector length, not (synfig#1236 synfig#1254 synfig#1286 synfig#1363 synfig#1409 synfig#1447 synfig#1446 synfig#1516 synfig#1515 synfig#1593 synfig#1586 synfig#1619 synfig#1606 synfig#1650 synfig#1587) - Add support for blur layers (synfig#1505) - Add support for Outline layer without variable widths (synfig#1647) - Improve support for exported values (synfig#2182) - Some code cleanup (synfig#1199 synfig#1213 synfig#1226 synfig#1456 synfig#2061)
Added support for Vector X and Vector Y convert method in Lottie exporter plugin.