Call continual_update at the start of a wait call, even if there are no time-dependent mobjects

This commit is contained in:
Grant Sanderson
2019-02-03 12:13:24 -08:00
parent 96e670b4aa
commit 6e0596d0dc

View File

@ -528,6 +528,7 @@ class Scene(Container):
@handle_play_like_call
def 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: