mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 21:44:19 +08:00
Nearly done with fractal dimension project
This commit is contained in:
@ -62,7 +62,7 @@ class SVGMobject(VMobject):
|
||||
result.append(self.rect_to_mobject(element))
|
||||
elif element.tagName == 'circle':
|
||||
result.append(self.circle_to_mobject(element))
|
||||
elif element.tagName == 'polygon':
|
||||
elif element.tagName in ['polygon', 'polyline']:
|
||||
result.append(self.polygon_to_mobject(element))
|
||||
else:
|
||||
warnings.warn("Unknown element type: " + element.tagName)
|
||||
|
Reference in New Issue
Block a user