diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-05-24 17:27:10 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-05-24 17:27:10 +0300 |
commit | 97bf32a8b84b7a9ef40b9406802f293e0280814f (patch) | |
tree | f38ea2ea795cf75401cac1d2fa47c1cdb3f92ab6 | |
parent | eecdf5a4f98e3f1ab8324db1ec1be2ce8c756b89 (diff) |
Fix T51594: SVG Importer: circles and rectangles don't get datablocks named after the original objects
-rw-r--r-- | io_curve_svg/import_svg.py | 3 |
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']) |