A community-maintained Python framework for creating mathematical animations.
Update target mobject before Transform
Grant Sanderson5e63b5743d8c
diff --git a/manimlib/animation/transform.py b/manimlib/animation/transform.pyindex 47ec01f56..1dcfeec2b 100644--- a/manimlib/animation/transform.py+++ b/manimlib/animation/transform.py@@ -29,8 +29,10 @@ class Transform(Animation):# Copy target_mobject so as to not mess with callerself.original_target_mobject = target_mobjecttarget_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()