mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 05:07:47 +00:00
add warning for unsupported element type
This commit is contained in:
parent
d694aed452
commit
416cc8e6d5
1 changed files with 1 additions and 1 deletions
|
|
@ -108,8 +108,8 @@ class SVGMobject(VMobject):
|
|||
elif element.tagName in ['polygon', 'polyline']:
|
||||
result.append(self.polygon_to_mobject(element))
|
||||
else:
|
||||
log.warning(f"Unsupported element type: {element.tagName}")
|
||||
pass # TODO
|
||||
# warnings.warn("Unknown element type: " + element.tagName)
|
||||
result = [m for m in result if m is not None]
|
||||
self.handle_transforms(element, VGroup(*result))
|
||||
if len(result) > 1 and not self.unpack_groups:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue