Skip to content

Commit f64b874

Browse files
committed
Corrected use of self.bezier_alphas in VMobject.change_anchor_mode
1 parent c6ebc78 commit f64b874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/mobject/types/vectorized_mobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@ def change_anchor_mode(self, mode: str):
928928
# thus making the Bézier curves straight lines
929929
starts = submob.get_start_anchors()
930930
ends = submob.get_end_anchors()
931-
for a in self.bezier_alphas:
931+
for a in self.bezier_alphas[1:-1]:
932932
submob.points[1::nppcc] = interpolate(starts, ends, a)
933933

934934
elif mode == "smooth":

0 commit comments

Comments
 (0)