mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Bug fix and PEP8 on svg_mobject.py
This commit is contained in:
parent
515257e0b1
commit
a9b76ebcfa
1 changed files with 14 additions and 18 deletions
|
@ -176,10 +176,6 @@ class SVGMobject(VMobject):
|
|||
if stroke_width in ["", "none", "0"]:
|
||||
stroke_width = 0
|
||||
|
||||
# is there sth to draw?
|
||||
if opacity == 0 and stroke_width == 0:
|
||||
return
|
||||
|
||||
if corner_radius in ["", "0", "none"]:
|
||||
corner_radius = 0
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue