From 03d88bc92669d26afdd9fb0e0c601c0da21ff833 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Mon, 11 Feb 2019 22:23:33 -0800 Subject: [PATCH] Use Mobject.become instead of Transform.update(1) --- manimlib/for_3b1b_videos/pi_creature.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/for_3b1b_videos/pi_creature.py b/manimlib/for_3b1b_videos/pi_creature.py index 6f6b7c7f..429868e9 100644 --- a/manimlib/for_3b1b_videos/pi_creature.py +++ b/manimlib/for_3b1b_videos/pi_creature.py @@ -157,7 +157,7 @@ class PiCreature(SVGMobject): new_self.shift(self.eyes.get_center() - new_self.eyes.get_center()) if hasattr(self, "purposeful_looking_direction"): new_self.look(self.purposeful_looking_direction) - Transform(self, new_self).update(1) + self.become(new_self) self.mode = mode return self