Skip to content
Snippets Groups Projects
Commit c444f11c authored by Sergey Sharybin's avatar Sergey Sharybin
Browse files

Fix #27456: Scalable Vector Graphics (SVG) file importing incorrectly

Update current point position when closing path is needed.
parent 300d949d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment