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-24 13:35:49 +0300 |
commit | 7431449db6bd37edb3458f4afbec9034fb1a324c (patch) | |
tree | 39ea092a4a5cc1e43273c27d877a8fabd15fa936 | |
parent | 4d2bfd0c1338e25d653e4d0f3e313046b017b3e8 (diff) |
Fix T49791: Distorted curves when importing SVGv2.78ablender-v2.78-release
-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, |