Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fixed currently broken animation, deepcopy -> copy (#2895)

Benjamin Hacklb63f13b08671
diff --git a/manim/animation/indication.py b/manim/animation/indication.py
index 53f8b8ad6..d320ec3a4 100644
--- a/manim/animation/indication.py
+++ b/manim/animation/indication.py
@@ -330,7 +330,7 @@ class ShowPassingFlashWithThinningStrokeWidth(AnimationGroup):
super().__init__(
*(
ShowPassingFlash(
- vmobject.deepcopy().set_stroke(width=stroke_width),
+ vmobject.copy().set_stroke(width=stroke_width),
time_width=time_width,
**kwargs,
)