mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 08:47:44 +00:00
Remove no-longer necessary correction for path ends
This commit is contained in:
parent
644ea41443
commit
9778c3e085
1 changed files with 0 additions and 5 deletions
|
|
@ -329,7 +329,6 @@ class VMobjectFromSVGPath(VMobject):
|
||||||
self.triangulation = triangulation
|
self.triangulation = triangulation
|
||||||
self.needs_new_triangulation = False
|
self.needs_new_triangulation = False
|
||||||
|
|
||||||
|
|
||||||
def handle_commands(self) -> None:
|
def handle_commands(self) -> None:
|
||||||
segment_class_to_func_map = {
|
segment_class_to_func_map = {
|
||||||
se.Move: (self.start_new_path, ("end",)),
|
se.Move: (self.start_new_path, ("end",)),
|
||||||
|
|
@ -346,7 +345,3 @@ class VMobjectFromSVGPath(VMobject):
|
||||||
for attr_name in attr_names
|
for attr_name in attr_names
|
||||||
]
|
]
|
||||||
func(*points)
|
func(*points)
|
||||||
|
|
||||||
# Get rid of the side effect of trailing "Z M" commands.
|
|
||||||
if self.has_new_path_started():
|
|
||||||
self.resize_points(self.get_num_points() - 1)
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue