Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-05-22 10:18:33 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-05-22 10:18:33 +0400
commitc444f11c4b9be7505b0aa17c90b49dbaf5484e95 (patch)
tree4bfdb4bbb00be4e25253c2588e5711e09a9ead31 /io_curve_svg
parent300d949d541ff35ce04d1d9d882157ad02023506 (diff)
Fix #27456: Scalable Vector Graphics (SVG) file importing incorrectly
Update current point position when closing path is needed.
Diffstat (limited to 'io_curve_svg')
-rw-r--r--io_curve_svg/import_svg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/io_curve_svg/import_svg.py b/io_curve_svg/import_svg.py
index 146f1e01..231986e5 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -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