mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Don't wait for animations while skipping
This commit is contained in:
parent
902a4f264e
commit
21c0bcb8b6
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ class Scene(object):
|
||||||
|
|
||||||
self.camera.capture(*self.render_groups)
|
self.camera.capture(*self.render_groups)
|
||||||
|
|
||||||
if self.window:
|
if self.window and not self.skip_animations:
|
||||||
vt = self.time - self.virtual_animation_start_time
|
vt = self.time - self.virtual_animation_start_time
|
||||||
rt = time.time() - self.real_animation_start_time
|
rt = time.time() - self.real_animation_start_time
|
||||||
time.sleep(max(vt - rt, 0))
|
time.sleep(max(vt - rt, 0))
|
||||||
|
|
Loading…
Add table
Reference in a new issue