mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 11:03:03 +08:00
update_mobject -> interpolate_mobject for Animation, but not for ContinualAnimation
This commit is contained in:
@ -4967,7 +4967,7 @@ class Exchange(Animation):
|
||||
self.changed_symbols_yet = False
|
||||
Animation.__init__(self, exchange, **kwargs)
|
||||
|
||||
def update_mobject(self, alpha):
|
||||
def interpolate_mobject(self, alpha):
|
||||
exchange = self.mobject
|
||||
if alpha < 1./3:
|
||||
self.swap.update(3*alpha)
|
||||
|
Reference in New Issue
Block a user