Page MenuHome

SVG not importing id attribute for rectangle - code resolution given in ticket
Closed, ResolvedPublic


System Information
Operating system: MacOS
Graphics card: Apple M1

Blender Version
Broken: 3.0, 2.92

Importing SVG Rectangle does not keep name

Exact steps for others to reproduce the error
Importing SVG file with rectangle does not retain name in blender import

function id_names_from_node should be called after line 1391 of as in the other classes found here. Probably good to check all other shapes are also calling this function.

Test SVG file:

Name should be "my_rectangle".

Event Timeline

Falk David (filedescriptor) changed the task status from Needs Triage to Needs Information from User.Sat, May 29, 11:34 AM

@Arie Lakeman (ariejdl) Thank you for the report and taking time to find the part of the code that should solve the issue. I would like to confirm this, do you have a test .svg that you could share here (eg via drag & drop)?

Falk David (filedescriptor) changed the task status from Needs Information from User to Confirmed.Sat, May 29, 11:45 AM
Falk David (filedescriptor) updated the task description. (Show Details)

Created a small test file and was able to confirm the issue.