mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Rename machines_with_machine_quality to machinesWithMachineQuality
As per the code style conventions. Sorry, I'm used to other conventions in one of my own projects. Contributes to issue CURA-844.
This commit is contained in:
parent
36f84017cf
commit
1428f67798
2 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ class Profile:
|
||||||
config.set("metadata", "material", self._material_name)
|
config.set("metadata", "material", self._material_name)
|
||||||
filenames.append(self._filename)
|
filenames.append(self._filename)
|
||||||
configs.append(config)
|
configs.append(config)
|
||||||
elif self._type != "material" and self._machine_type_id in VersionUpgrade21to22.machines_with_machine_quality():
|
elif self._type != "material" and self._machine_type_id in VersionUpgrade21to22.machinesWithMachineQuality():
|
||||||
#Split this profile into multiple profiles, one for each material.
|
#Split this profile into multiple profiles, one for each material.
|
||||||
for material_id in _new_materials:
|
for material_id in _new_materials:
|
||||||
filenames.append("{profile}_{material}".format(profile = self._filename, material = material_id))
|
filenames.append("{profile}_{material}".format(profile = self._filename, material = material_id))
|
||||||
|
|
|
@ -92,7 +92,7 @@ class VersionUpgrade21to22(VersionUpgrade):
|
||||||
#
|
#
|
||||||
# \return A set of machine identifiers.
|
# \return A set of machine identifiers.
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def machines_with_machine_quality(self):
|
def machinesWithMachineQuality(self):
|
||||||
return _machines_with_machine_quality
|
return _machines_with_machine_quality
|
||||||
|
|
||||||
## Converts machine instances from format version 1 to version 2.
|
## Converts machine instances from format version 1 to version 2.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue