A community-maintained Python framework for creating mathematical animations.
Use generate_target in method compiling of scene.play
Grant Sanderson5639f2e6c3fe
diff --git a/scene/scene.py b/scene/scene.pyindex fda15aafa..5a4714853 100644--- a/scene/scene.py+++ b/scene/scene.py@@ -380,7 +380,7 @@ class Scene(Container):animations.pop()#method should already have target then.else:- mobject.target = mobject.deepcopy()+ mobject.generate_target()#if len(state["method_args"]) > 0 and isinstance(state["method_args"][-1], dict):method_kwargs = state["method_args"].pop()