Bug fix and PEP8 on svg_mobject.py

This commit is contained in:
Grant Sanderson 2018-04-12 21:56:28 -07:00
parent 515257e0b1
commit a9b76ebcfa

View file

@ -176,10 +176,6 @@ class SVGMobject(VMobject):
if stroke_width in ["", "none", "0"]: if stroke_width in ["", "none", "0"]:
stroke_width = 0 stroke_width = 0
# is there sth to draw?
if opacity == 0 and stroke_width == 0:
return
if corner_radius in ["", "0", "none"]: if corner_radius in ["", "0", "none"]:
corner_radius = 0 corner_radius = 0