A community-maintained Python framework for creating mathematical animations.
Call continual_update at the start of a wait call, even if there are no time-dependent mobjects
Grant Sanderson6e0596d0dc20
diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.pyindex 1ec7e674b..200d73038 100644--- a/manimlib/scene/scene.py+++ b/manimlib/scene/scene.py@@ -528,6 +528,7 @@ class Scene(Container):@handle_play_like_calldef wait(self, duration=DEFAULT_WAIT_TIME, stop_condition=None):dt = 1 / self.camera.frame_rate+ self.continual_update(dt=0) # Any problems with this?if self.should_continually_update():time_progression = self.get_wait_time_progression(duration, stop_condition)for t in time_progression: