mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Bugfix for PiCreatureScene
This commit is contained in:
parent
b29597d39b
commit
4bd1e6f3a8
1 changed files with 2 additions and 2 deletions
|
@ -148,12 +148,12 @@ class PiCreatureScene(Scene):
|
|||
self.pi_creature_thinks(
|
||||
self.get_primary_pi_creature(), *content, **kwargs)
|
||||
|
||||
def compile_play_args_to_animation_list(self, *args):
|
||||
def compile_play_args_to_animation_list(self, *args, **kwargs):
|
||||
"""
|
||||
Add animations so that all pi creatures look at the
|
||||
first mobject being animated with each .play call
|
||||
"""
|
||||
animations = Scene.compile_play_args_to_animation_list(self, *args)
|
||||
animations = Scene.compile_play_args_to_animation_list(self, *args, **kwargs)
|
||||
if not self.any_pi_creatures_on_screen():
|
||||
return animations
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue