diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-21 17:31:28 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-21 17:31:28 +0300 |
commit | 9b58f808c2aae0a94b52680cc2be9edc53a57647 (patch) | |
tree | 9fa4b8144bccf196721fa7140ab40c5f1b84e9bf /io_curve_svg | |
parent | 88daec32061ce3defd22bd09a7009c41e809516b (diff) |
Fix T49791: Distorted curves when importing SVG
Diffstat (limited to 'io_curve_svg')
-rw-r--r-- | io_curve_svg/import_svg.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py index b09dfd1b..c8c492ff 100644 --- a/io_curve_svg/import_svg.py +++ b/io_curve_svg/import_svg.py @@ -652,6 +652,11 @@ class SVGPathParser: return + last = self._spline['points'][-1] + if last['handle_right_type'] == 'VECTOR' and handle_left_type == 'FREE': + last['handle_right'] = (last['x'], last['y']) + last['handle_right_type'] = 'FREE' + point = {'x': x, 'y': y, |