mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:35:57 +08:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
4d2a69a932
@ -665,7 +665,6 @@ class MachineManager(QObject):
|
||||
|
||||
# Find the values for each extruder.
|
||||
for stack in ExtruderManager.getInstance().getActiveExtruderStacks():
|
||||
# machine_definition = QualityManager.getInstance().getParentMachineDefinition(stack.getBottom())
|
||||
material = stack.findContainer(type="material")
|
||||
stack_qualities = QualityManager.getInstance().findQualityByName(quality_name, global_machine_definition, [material])
|
||||
if not stack_qualities:
|
||||
|
@ -94,7 +94,7 @@ class Profile:
|
||||
config.set("general", "definition", "fdmprinter") #In this case, the machine definition is unknown, and it might now have machine-specific profiles, in which case this will fail.
|
||||
|
||||
config.add_section("metadata")
|
||||
config.set("metadata", "quality", "normal") #This feature doesn't exist in 2.1 yet, so we don't know the actual quality type. For now, always base it on normal.
|
||||
config.set("metadata", "quality_type", "normal") #This feature doesn't exist in 2.1 yet, so we don't know the actual quality type. For now, always base it on normal.
|
||||
config.set("metadata", "type", "quality_changes")
|
||||
if self._weight:
|
||||
config.set("metadata", "weight", str(self._weight))
|
||||
|
Loading…
x
Reference in New Issue
Block a user