mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Save state before each embed
This commit is contained in:
parent
2d115a2c90
commit
f22a341e84
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue