mirror of
https://github.com/3b1b/manim.git
synced 2025-07-28 20:43:56 +08:00
Save state before each embed
This commit is contained in:
@ -119,6 +119,9 @@ class Scene(object):
|
||||
self.linger_after_completion = False
|
||||
self.update_frame()
|
||||
|
||||
# Save scene state at the point of embedding
|
||||
self.save_state()
|
||||
|
||||
from IPython.terminal.embed import InteractiveShellEmbed
|
||||
shell = InteractiveShellEmbed()
|
||||
# Have the frame update after each command
|
||||
|
Reference in New Issue
Block a user