From 89f4094b02af9f158a42ca0c9cece650ab7bf215 Mon Sep 17 00:00:00 2001 From: sparshg <43041139+sparshg@users.noreply.github.com> Date: Sun, 28 Jan 2024 23:37:43 +0530 Subject: [PATCH] fix `get_arc_center()` returning reference of point --- manim/mobject/geometry/arc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manim/mobject/geometry/arc.py b/manim/mobject/geometry/arc.py index c979f798de..dd532b07b6 100644 --- a/manim/mobject/geometry/arc.py +++ b/manim/mobject/geometry/arc.py @@ -389,7 +389,7 @@ def get_arc_center(self, warning: bool = True) -> Point3D: # For a1 and a2 to lie at the same point arc radius # must be zero. Thus arc_center will also lie at # that point. - return a1 + return np.copy(a1) # Tangent vectors t1 = h1 - a1 t2 = h2 - a2