From 04d77f2bec15e3fe4a3f97cf8dc7c3e8e1a7fa66 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 28 Aug 2024 11:57:23 -0500 Subject: [PATCH] Fix joint angle for lines --- manimlib/mobject/types/vectorized_mobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.py index 7fec7585..47f6fd84 100644 --- a/manimlib/mobject/types/vectorized_mobject.py +++ b/manimlib/mobject/types/vectorized_mobject.py @@ -1144,7 +1144,7 @@ class VMobject(Mobject): ends = self.get_subpath_end_indices() starts = [0, *(e + 2 for e in ends[:-1])] for start, end in zip(starts, ends): - if start >= end - 2: + if start == end: continue if (points[start] == points[end]).all(): v_in[start] = v_out[end - 1]