From 0b7e4caf17c085084b6679a10e12140f05b8b24b Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Thu, 23 Mar 2017 16:49:30 -0700 Subject: [PATCH] Bug fix to AnimationGroup --- animation/simple_animations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/animation/simple_animations.py b/animation/simple_animations.py index 8bb7084d..6aad2db9 100644 --- a/animation/simple_animations.py +++ b/animation/simple_animations.py @@ -361,10 +361,10 @@ class AnimationGroup(Animation): everything = Mobject(*[a.mobject for a in sub_anims]) Animation.__init__(self, everything, **kwargs) - def update(self, alpha): + def update_mobject(self, alpha): for anim in self.sub_anims: sub_alpha = np.clip(alpha*anim.alpha_multiplier, 0, 1) - anim.update(sub_alpha) + anim.update_mobject(sub_alpha)