Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--io_curve_svg/import_svg.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py
index b98aacbb..ac9a2260 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -83,10 +83,7 @@ def SVGParseCoord(coord, size):
if unit == '%':
return float(size) / 100.0 * val
- else:
- return val * units[unit]
-
- return val
+ return val * units[unit]
def SVGRectFromNode(node, context):