mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 10:17:52 -06:00
Fix call to VersionUpgrade21to22.machinesWithMachineQuality
It needs that stupidly long path if we're using imports inside a plug-in. Contributes to issue CURA-844.
This commit is contained in:
parent
1428f67798
commit
9a555fcab0
3 changed files with 5 additions and 3 deletions
|
@ -142,7 +142,7 @@ class Profile:
|
|||
config.set("metadata", "material", self._material_name)
|
||||
filenames.append(self._filename)
|
||||
configs.append(config)
|
||||
elif self._type != "material" and self._machine_type_id in VersionUpgrade21to22.machinesWithMachineQuality():
|
||||
elif self._type != "material" and self._machine_type_id in VersionUpgrade21to22.VersionUpgrade21to22.VersionUpgrade21to22.machinesWithMachineQuality():
|
||||
#Split this profile into multiple profiles, one for each material.
|
||||
for material_id in _new_materials:
|
||||
filenames.append("{profile}_{material}".format(profile = self._filename, material = material_id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue