Commit 7431449d authored by Sergey Sharybin's avatar Sergey Sharybin
Browse files

Fix T49791: Distorted curves when importing SVG

parent 4d2bfd0c
Pipeline #4738 failed with stages
in 22 seconds
......@@ -652,6 +652,11 @@ class SVGPathParser:
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,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment