Don't wait for animations while skipping

This commit is contained in:
Grant Sanderson 2024-08-16 12:20:49 -05:00
parent 902a4f264e
commit 21c0bcb8b6

View file

@ -333,7 +333,7 @@ class Scene(object):
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
rt = time.time() - self.real_animation_start_time
time.sleep(max(vt - rt, 0))