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 a time property to scene #3997

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

JasonGrace2282
Copy link
Member

Gives users access to the time passed since the scene started.
This is also easier to maintain compatibility with in experimental, rather than renderer.time

@JasonGrace2282 JasonGrace2282 added enhancement Additions and improvements in general new feature Enhancement specifically adding a new feature (feature request should be used for issues instead) labels Nov 4, 2024
Copy link
Contributor

@chopan050 chopan050 left a comment

Choose a reason for hiding this comment

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

LGTM!

I can really see the usefulness of this new feature! It is something I, personally, needed for some projects of mine.

EDIT: Henrik is adding typings to manim.scene in the PR #3981. Could you, please, also add the corresponding typing for this new property?

@JasonGrace2282 JasonGrace2282 enabled auto-merge (squash) November 7, 2024 21:33
@JasonGrace2282 JasonGrace2282 merged commit 97efef4 into ManimCommunity:main Nov 7, 2024
17 of 18 checks passed
@JasonGrace2282 JasonGrace2282 deleted the time-property branch November 7, 2024 23:24
@chopan050 chopan050 mentioned this pull request Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Additions and improvements in general new feature Enhancement specifically adding a new feature (feature request should be used for issues instead)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants