Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Use deepcopy in Rotate

Grant Sanderson51656c4dfc4a
diff --git a/manimlib/animation/rotation.py b/manimlib/animation/rotation.py
index 46b9921f8..66c1df784 100644
--- a/manimlib/animation/rotation.py
+++ b/manimlib/animation/rotation.py
@@ -44,7 +44,7 @@ class Rotate(Transform):
if "path_arc_axis" not in kwargs:
kwargs["path_arc_axis"] = axis
digest_config(self, kwargs, locals())
- target = mobject.copy()
+ target = mobject.deepcopy()
if self.in_place:
self.about_point = mobject.get_center()
target.rotate(