mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Fix joint angle for lines
This commit is contained in:
@ -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]
|
||||
|
Reference in New Issue
Block a user