Fix T51594: SVG Importer: circles and rectangles don't get datablocks named after the original objects
This commit is contained in:
parent
eecdf5a4f9
commit
97bf32a8b8
Notes:
blender-bot
2023-02-14 19:38:47 +01:00
Referenced by issue #51594, SVG Importer: circles and rectangles don't get datablocks named after the original objects
|
@ -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'])
|
||||
|
|
Loading…
Reference in New Issue