mirror of
https://github.com/3b1b/manim.git
synced 2025-07-29 21:12:35 +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.linger_after_completion = False
|
||||||
self.update_frame()
|
self.update_frame()
|
||||||
|
|
||||||
|
# Save scene state at the point of embedding
|
||||||
|
self.save_state()
|
||||||
|
|
||||||
from IPython.terminal.embed import InteractiveShellEmbed
|
from IPython.terminal.embed import InteractiveShellEmbed
|
||||||
shell = InteractiveShellEmbed()
|
shell = InteractiveShellEmbed()
|
||||||
# Have the frame update after each command
|
# Have the frame update after each command
|
||||||
|
Reference in New Issue
Block a user