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: ...@@ -912,6 +912,9 @@ class SVGPathParser:
if self._spline: if self._spline:
self._spline['closed'] = True self._spline['closed'] = True
cv = self._spline['points'][0]
self._point = (cv['x'], cv['y'])
def parse(self): def parse(self):
""" """
Execute parser Execute parser
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment