Browse Source

Set the extruder metadata to its ID

Not the actual extruder!

Contributes to issue CURA-4715.
Ghostkeeper 7 years ago
parent
commit
d9bc561d73
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/LegacyProfileReader/LegacyProfileReader.py

+ 1 - 1
plugins/LegacyProfileReader/LegacyProfileReader.py

@@ -168,7 +168,7 @@ class LegacyProfileReader(ProfileReader):
         global_profile.setDirty(True)
 
         #Only the extruder stack has an extruder metadata entry.
-        profile.addMetaDataEntry("extruder", ExtruderManager.getInstance().getActiveExtruderStack().definition)
+        profile.addMetaDataEntry("extruder", ExtruderManager.getInstance().getActiveExtruderStack().definition.getId())
 
         #Split all settings into per-extruder and global settings.
         for setting_key in profile.getAllKeys():