Have SVG subdivide intersections if winding fill is not a default

This commit is contained in:
Grant Sanderson 2023-02-02 10:40:09 -08:00
parent 594b9258da
commit 0cf9a35367

View file

@ -309,6 +309,8 @@ class VMobjectFromSVGPath(VMobject):
path_string = self.path_obj.d()
if path_string not in PATH_TO_POINTS:
self.handle_commands()
if not self._use_winding_fill:
self.subdivide_intersections()
# Save for future use
PATH_TO_POINTS[path_string] = self.get_points().copy()
else: