Skip to content

fix(scene): record audio after cached animation replays#4876

Closed
Chessing234 wants to merge 1 commit into
ManimCommunity:mainfrom
Chessing234:fix/4751-audio-after-cached-wait
Closed

fix(scene): record audio after cached animation replays#4876
Chessing234 wants to merge 1 commit into
ManimCommunity:mainfrom
Chessing234:fix/4751-audio-after-cached-wait

Conversation

@Chessing234

Copy link
Copy Markdown

Summary

  • Reset skip_animations after cache-only play() skips (Cairo + OpenGL)
  • add_sound() was silently dropped when called after cached wait() segments

Fixes #4751

Test plan

  • pytest tests/module/scene/test_sound.py::test_add_sound_after_cached_wait

Made with Cursor

Reset skip_animations when a play() only skipped frame rendering due to
cache hits, so add_sound() is not dropped between cached waits.

Fixes ManimCommunity#4751

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Audio broken after silence in rerendered video

2 participants