mirror of
https://github.com/3b1b/manim.git
synced 2025-08-03 04:04:36 +08:00
Have SVG subdivide intersections if winding fill is not a default
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user