Skip to content
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

Add SVGShapeElement sourceRectAtTime calculation #3134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Dan-Shields
Copy link

@Dan-Shields Dan-Shields commented Nov 22, 2024

Tested with the following composition, where the red box is setting scale from the shape layer's sourceRectAtTime and the text is reading out the sourceRectAtTime width of the shape layer.

Might not catch all use cases but for us this makes the expression function usable.

AE:
Screenshot 2024-11-22 164356

Pre-fix lottie output:
Screenshot 2024-11-22 164535

Post-fix lottie output:
Screenshot 2024-11-22 164406

Fixes #2779
Fixes #2420

Related #1984

EDIT: here's the exported comp:
Comp 3.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sourceRectAtTime to adjust rectangles Aligned text and shape layers render with an offset
1 participant