mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 19:46:21 +08:00
Update frame on all play calls when skipping animations, so as to provide a rapid preview during scene loading
This commit is contained in:
@ -545,6 +545,10 @@ class Scene(object):
|
||||
if self.inside_embed:
|
||||
self.save_state()
|
||||
|
||||
if self.skip_animations and self.window is not None:
|
||||
# Show some quick frames along the way
|
||||
self.update_frame(dt=0, ignore_skipping=True)
|
||||
|
||||
self.num_plays += 1
|
||||
return wrapper
|
||||
|
||||
|
Reference in New Issue
Block a user