mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 10:38:59 +08:00
Use the same id as set when exporting
Nothing special. Doesn't fix anything..
This commit is contained in:
parent
29f7c240c4
commit
65f2afeebd
@ -72,7 +72,7 @@ class GCodeProfileReader(ProfileReader):
|
||||
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
|
||||
profile = InstanceContainer(os.path.basename(os.path.splitext(file_name)[0]))
|
||||
profile = InstanceContainer("G-code-imported-profile")
|
||||
profile.addMetaDataEntry("type", "quality")
|
||||
try:
|
||||
profile.deserialize(serialized)
|
||||
|
Loading…
x
Reference in New Issue
Block a user