mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Use the same id as set when exporting
Nothing special. Doesn't fix anything..
This commit is contained in:
parent
29f7c240c4
commit
65f2afeebd
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class GCodeProfileReader(ProfileReader):
|
||||||
Logger.log("i", "Serialized the following from %s: %s" %(file_name, repr(serialized)))
|
Logger.log("i", "Serialized the following from %s: %s" %(file_name, repr(serialized)))
|
||||||
|
|
||||||
# Create an empty profile with the name of the G-code file
|
# Create an empty profile with the name of the G-code file
|
||||||
profile = InstanceContainer(os.path.basename(os.path.splitext(file_name)[0]))
|
profile = InstanceContainer("G-code-imported-profile")
|
||||||
profile.addMetaDataEntry("type", "quality")
|
profile.addMetaDataEntry("type", "quality")
|
||||||
try:
|
try:
|
||||||
profile.deserialize(serialized)
|
profile.deserialize(serialized)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue