Update target mobject before Transform

This commit is contained in:
Grant Sanderson 2019-02-03 12:08:37 -08:00
parent 51656c4dfc
commit 5e63b5743d

View file

@ -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()