Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fixed copying problem in animation

Ben Hambrechtceccddd262ae
diff --git a/scene/scene.py b/scene/scene.py
index 768696223..4c72897c6 100644
--- a/scene/scene.py
+++ b/scene/scene.py
@@ -367,7 +367,7 @@ class Scene(Container):
animations.pop()
#method should already have target then.
else:
- mobject.target = mobject.copy()
+ mobject.target = mobject.deepcopy()
#
if len(state["method_args"]) > 0 and isinstance(state["method_args"][-1], dict):
method_kwargs = state["method_args"].pop()