mirror of
https://github.com/3b1b/videos.git
synced 2025-09-18 21:38:53 +00:00
Fix PiCreature.change
This commit is contained in:
parent
af165bd975
commit
a7d883d6de
1 changed files with 1 additions and 1 deletions
|
@ -174,7 +174,7 @@ class PiCreature(SVGMobject):
|
|||
return self
|
||||
|
||||
def change(self, new_mode, look_at_arg=None):
|
||||
animation = self.change_mode(new_mode)
|
||||
animation = self.animate.change_mode(new_mode)
|
||||
if look_at_arg is not None:
|
||||
animation = animation.look_at(look_at_arg)
|
||||
return animation
|
||||
|
|
Loading…
Add table
Reference in a new issue