mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
commit
b7e2abb801
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ class TracedPath(VMobject):
|
|||
self.get_points()[-1] = new_point
|
||||
|
||||
# Second to last point
|
||||
nppcc = self.n_points_per_cubic_curve
|
||||
nppcc = self.n_points_per_curve
|
||||
dist = get_norm(new_point - self.get_points()[-nppcc])
|
||||
if dist >= self.min_distance_to_new_point:
|
||||
self.add_line_to(new_point)
|
||||
|
|
Loading…
Add table
Reference in a new issue