mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Update mobject at the start of an animation
This commit is contained in:
parent
d470232749
commit
c9ea85936f
1 changed files with 3 additions and 0 deletions
|
@ -29,6 +29,9 @@ class Animation(object):
|
|||
mobject = instantiate(mobject)
|
||||
assert(isinstance(mobject, Mobject))
|
||||
digest_config(self, kwargs, locals())
|
||||
# Make sure it's all up to date
|
||||
mobject.update()
|
||||
# Keep track of where it started
|
||||
self.starting_mobject = self.mobject.copy()
|
||||
if self.rate_func is None:
|
||||
self.rate_func = (lambda x: x)
|
||||
|
|
Loading…
Add table
Reference in a new issue