mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Only leave wait notes in presenter mode
This commit is contained in:
parent
01f0dd30d0
commit
42d1f48c60
1 changed files with 2 additions and 2 deletions
|
@ -604,10 +604,10 @@ class Scene(object):
|
||||||
note: str = None,
|
note: str = None,
|
||||||
ignore_presenter_mode: bool = False
|
ignore_presenter_mode: bool = False
|
||||||
):
|
):
|
||||||
if note:
|
|
||||||
log.info(note)
|
|
||||||
self.update_mobjects(dt=0) # Any problems with this?
|
self.update_mobjects(dt=0) # Any problems with this?
|
||||||
if self.presenter_mode and not self.skip_animations and not ignore_presenter_mode:
|
if self.presenter_mode and not self.skip_animations and not ignore_presenter_mode:
|
||||||
|
if note:
|
||||||
|
log.info(note)
|
||||||
while self.hold_on_wait:
|
while self.hold_on_wait:
|
||||||
self.update_frame(dt=1 / self.camera.frame_rate)
|
self.update_frame(dt=1 / self.camera.frame_rate)
|
||||||
self.hold_on_wait = True
|
self.hold_on_wait = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue