Skip to content

Commit e2cec98

Browse files
authored
fix get_arc_center() returning reference of point (#3599)
1 parent d0fe0c3 commit e2cec98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/mobject/geometry/arc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def get_arc_center(self, warning: bool = True) -> Point3D:
389389
# For a1 and a2 to lie at the same point arc radius
390390
# must be zero. Thus arc_center will also lie at
391391
# that point.
392-
return a1
392+
return np.copy(a1)
393393
# Tangent vectors
394394
t1 = h1 - a1
395395
t2 = h2 - a2

0 commit comments

Comments
 (0)