mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Fix joint angle for lines
This commit is contained in:
parent
1e996dcd27
commit
04d77f2bec
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue