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:
Diffstat (limited to 'io_curve_svg/import_svg.py')
-rw-r--r--io_curve_svg/import_svg.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py
index f3f89508..00c11bcf 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -270,7 +270,7 @@ def SVGGetMaterial(color, context):
elif color in svg_colors.SVGColors:
diff = svg_colors.SVGColors[color]
elif rgb_re.match(color):
- c = rgb_re.findall(color) [0]
+ c = rgb_re.findall(color)[0]
diff = (float(c[0]), float(c[1]), float(c[2]))
else:
return None
@@ -775,7 +775,7 @@ class SVGPathParser:
self._handle = (x1, y1)
cur = self._data.cur()
- def _calcArc(self, rx, ry, ang, fa, fs, x, y):
+ def _calcArc(self, rx, ry, ang, fa, fs, x, y):
"""
Calc arc paths
@@ -890,7 +890,7 @@ class SVGPathParser:
fs = float(self._data.next())
x, y = self._getCoordPair(code.islower(), self._point)
- self._calcArc(rx, ry, ang, fa, fs, x, y)
+ self._calcArc(rx, ry, ang, fa, fs, x, y)
self._point = (x, y)
self._handle = None