diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-05-22 10:18:33 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-05-22 10:18:33 +0400 |
commit | c444f11c4b9be7505b0aa17c90b49dbaf5484e95 (patch) | |
tree | 4bfdb4bbb00be4e25253c2588e5711e09a9ead31 | |
parent | 300d949d541ff35ce04d1d9d882157ad02023506 (diff) |
Fix #27456: Scalable Vector Graphics (SVG) file importing incorrectly
Update current point position when closing path is needed.
-rw-r--r-- | io_curve_svg/import_svg.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py index 146f1e01..231986e5 100644 --- a/io_curve_svg/import_svg.py +++ b/io_curve_svg/import_svg.py @@ -912,6 +912,9 @@ class SVGPathParser: if self._spline: self._spline['closed'] = True + cv = self._spline['points'][0] + self._point = (cv['x'], cv['y']) + def parse(self): """ Execute parser |