From a338fde3b22e9ccd5af17a837c8b38a85f4d769b Mon Sep 17 00:00:00 2001 From: Maxwin-z Date: Fri, 14 Jun 2024 23:53:57 +0800 Subject: [PATCH] fix: no voice when use cache --- manim_voiceover/voiceover_scene.py | 1 + 1 file changed, 1 insertion(+) diff --git a/manim_voiceover/voiceover_scene.py b/manim_voiceover/voiceover_scene.py index 687bb29..8030aa6 100644 --- a/manim_voiceover/voiceover_scene.py +++ b/manim_voiceover/voiceover_scene.py @@ -68,6 +68,7 @@ def add_voiceover_text( dict_ = self.speech_service._wrap_generate_from_text(text, **kwargs) tracker = VoiceoverTracker(self, dict_, self.speech_service.cache_dir) + self.renderer.skip_animations = self.renderer._original_skipping_status self.add_sound(str(Path(self.speech_service.cache_dir) / dict_["final_audio"])) self.current_tracker = tracker