Change behavior of Z in svg commands

This commit is contained in:
Grant Sanderson 2020-02-07 09:35:57 -08:00
parent 247f3ac2c4
commit 1e0c701733

View file

@ -387,7 +387,7 @@ class VMobjectFromSVGPathstring(VMobject):
"Q": (self.add_quadratic_bezier_curve_to, 2), "Q": (self.add_quadratic_bezier_curve_to, 2),
"T": (self.add_smooth_curve_to, 1), "T": (self.add_smooth_curve_to, 1),
"A": (self.add_quadratic_bezier_curve_to, 2), # TODO "A": (self.add_quadratic_bezier_curve_to, 2), # TODO
"Z": (lambda: None, 0), "Z": (self.close_path, 0),
} }
def get_original_path_string(self): def get_original_path_string(self):