mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Update target mobject before Transform
This commit is contained in:
parent
51656c4dfc
commit
5e63b5743d
1 changed files with 3 additions and 1 deletions
|
@ -29,8 +29,10 @@ class Transform(Animation):
|
|||
# Copy target_mobject so as to not mess with caller
|
||||
self.original_target_mobject = target_mobject
|
||||
target_mobject = target_mobject.copy()
|
||||
mobject.align_data(target_mobject)
|
||||
target_mobject.update()
|
||||
self.target_mobject = target_mobject
|
||||
|
||||
mobject.align_data(target_mobject)
|
||||
digest_config(self, kwargs)
|
||||
self.init_path_func()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue