mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Call continual_update at the start of a wait call, even if there are no time-dependent mobjects
This commit is contained in:
parent
96e670b4aa
commit
6e0596d0dc
1 changed files with 1 additions and 0 deletions
|
@ -528,6 +528,7 @@ class Scene(Container):
|
||||||
@handle_play_like_call
|
@handle_play_like_call
|
||||||
def wait(self, duration=DEFAULT_WAIT_TIME, stop_condition=None):
|
def wait(self, duration=DEFAULT_WAIT_TIME, stop_condition=None):
|
||||||
dt = 1 / self.camera.frame_rate
|
dt = 1 / self.camera.frame_rate
|
||||||
|
self.continual_update(dt=0) # Any problems with this?
|
||||||
if self.should_continually_update():
|
if self.should_continually_update():
|
||||||
time_progression = self.get_wait_time_progression(duration, stop_condition)
|
time_progression = self.get_wait_time_progression(duration, stop_condition)
|
||||||
for t in time_progression:
|
for t in time_progression:
|
||||||
|
|
Loading…
Add table
Reference in a new issue