Skip to content
Snippets Groups Projects
Commit c2c5392e authored by jim man's avatar jim man Committed by Sergey Sharybin
Browse files

svg (official) addon: cleanup: Simpified a code path

Simpified a code path

The last return was never reached

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D11964
parent de28e1da
Branches
Tags
No related merge requests found
...@@ -83,10 +83,7 @@ def SVGParseCoord(coord, size): ...@@ -83,10 +83,7 @@ def SVGParseCoord(coord, size):
if unit == '%': if unit == '%':
return float(size) / 100.0 * val return float(size) / 100.0 * val
else: return val * units[unit]
return val * units[unit]
return val
def SVGRectFromNode(node, context): def SVGRectFromNode(node, context):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment