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>2017-05-24 17:27:10 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2017-05-24 17:27:10 +0300
commit97bf32a8b84b7a9ef40b9406802f293e0280814f (patch)
treef38ea2ea795cf75401cac1d2fa47c1cdb3f92ab6 /io_curve_svg
parenteecdf5a4f98e3f1ab8324db1ec1be2ce8c756b89 (diff)
Fix T51594: SVG Importer: circles and rectangles don't get datablocks named after the original objects
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 c8c492ff..91cff022 100644
--- a/io_curve_svg/import_svg.py
+++ b/io_curve_svg/import_svg.py
@@ -1536,6 +1536,9 @@ class SVGGeometryELLIPSE(SVGGeometry):
ob = SVGCreateCurve()
cu = ob.data
+ if self._node.getAttribute('id'):
+ cu.name = self._node.getAttribute('id')
+
if self._styles['useFill']:
cu.dimensions = '2D'
cu.materials.append(self._styles['fill'])