mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Include wait in the embed shortcut commends
This commit is contained in:
parent
7dffa24acd
commit
521e3ef143
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class Scene(object):
|
||||||
# once embeded, and add a few custom shortcuts
|
# once embeded, and add a few custom shortcuts
|
||||||
local_ns = inspect.currentframe().f_back.f_locals
|
local_ns = inspect.currentframe().f_back.f_locals
|
||||||
local_ns["touch"] = self.interact
|
local_ns["touch"] = self.interact
|
||||||
for term in ("play", "add", "remove", "clear", "save_state", "restore"):
|
for term in ("play", "wait", "add", "remove", "clear", "save_state", "restore"):
|
||||||
local_ns[term] = getattr(self, term)
|
local_ns[term] = getattr(self, term)
|
||||||
shell(local_ns=local_ns, stack_depth=2)
|
shell(local_ns=local_ns, stack_depth=2)
|
||||||
# End scene when exiting an embed.
|
# End scene when exiting an embed.
|
||||||
|
|
Loading…
Add table
Reference in a new issue