From 4bd1e6f3a8d61e83933927d0c919c038d0ad4a47 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Tue, 19 Mar 2019 22:28:33 -0700 Subject: [PATCH] Bugfix for PiCreatureScene --- manimlib/for_3b1b_videos/pi_creature_scene.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manimlib/for_3b1b_videos/pi_creature_scene.py b/manimlib/for_3b1b_videos/pi_creature_scene.py index e556c4ad..3c702efc 100644 --- a/manimlib/for_3b1b_videos/pi_creature_scene.py +++ b/manimlib/for_3b1b_videos/pi_creature_scene.py @@ -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