diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-10-24 02:43:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-10-24 02:43:05 +0300 |
commit | 13c84813bf30113ace66417c1f3d04dc9ab0c3e8 (patch) | |
tree | 7551b3969104355d708f8e0e9105c2857c27b8ee /io_curve_svg | |
parent | 7a3d1e3ffd8b1166a01acbbe0fa5c204098f0fb1 (diff) |
Cleanup: remove unneeded keyword argument
Diffstat (limited to 'io_curve_svg')
-rw-r--r-- | io_curve_svg/import_svg.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py index a7cba61b..3aa32d3c 100644 --- a/io_curve_svg/import_svg.py +++ b/io_curve_svg/import_svg.py @@ -1234,7 +1234,7 @@ class SVGGeometryPATH(SVGGeometry): act_spline = cu.splines[-1] act_spline.use_cyclic_u = spline['closed'] else: - act_spline.bezier_points.add(count=1) + act_spline.bezier_points.add(1) bezt = act_spline.bezier_points[-1] bezt.co = co @@ -1378,7 +1378,7 @@ class SVGGeometryRECT(SVGGeometry): co = self._transformCoord(coord) if not firstTime: - spline.bezier_points.add(count=1) + spline.bezier_points.add(1) bezt = spline.bezier_points[-1] bezt.co = co @@ -1578,7 +1578,7 @@ class SVGGeometryELLIPSE(SVGGeometry): spline = cu.splines[-1] spline.use_cyclic_u = True else: - spline.bezier_points.add(count=1) + spline.bezier_points.add(1) bezt = spline.bezier_points[-1] bezt.co = co @@ -1670,7 +1670,7 @@ class SVGGeometryLINE(SVGGeometry): spline = cu.splines[-1] spline.use_cyclic_u = True else: - spline.bezier_points.add(count=1) + spline.bezier_points.add(1) bezt = spline.bezier_points[-1] bezt.co = co @@ -1746,7 +1746,7 @@ class SVGGeometryPOLY(SVGGeometry): spline = cu.splines[-1] spline.use_cyclic_u = self._closed else: - spline.bezier_points.add(count=1) + spline.bezier_points.add(1) bezt = spline.bezier_points[-1] bezt.co = co |