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

Force re-render in manim-slides #408

Open
semikernel opened this issue Apr 12, 2024 · 1 comment
Open

Force re-render in manim-slides #408

semikernel opened this issue Apr 12, 2024 · 1 comment
Labels
cli Related to the command line interface enhancement New feature or request question Further information is requested
Milestone

Comments

@semikernel
Copy link

Please explain the issue you're experiencing (with as much detail as possible):

Hi, there. I found that sometimes I just change the background color in the front of my code and want to render it again.

config.background_color = BLACK
# config.background_color = WHITE  # 

However, the manim-slides will simply use the cached files and won't render again, unless I deleted every file it will re render again. Is there anyway else to force render a class again? Thx a lot~:)

@semikernel semikernel added the question Further information is requested label Apr 12, 2024
@jeertmans jeertmans added enhancement New feature or request cli Related to the command line interface labels Apr 12, 2024
@jeertmans
Copy link
Owner

Hello!

Is it Manim Slides that skips re-rendering (because we re-use cached file for concatenated and reversed files), or is it Manim (it also uses cached files, based on a hash function, that I guess does not rely on config :-/).

In the latter case, you can use manim-slides render slide.py Slide --disable_caching.

Regarding Manim Slides, there is a class option, but this does not read from the CLI at the moment. I should somehow check if the --disable_caching option was passed and use it.

@jeertmans jeertmans added this to the v6 milestone Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command line interface enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants