mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 20:35:53 +08:00
Fix for global quality in case of user created quality profile - CURA-4482
This commit is contained in:
parent
97421ecf58
commit
e23e6cfa31
@ -1024,11 +1024,11 @@ class MachineManager(QObject):
|
|||||||
})
|
})
|
||||||
|
|
||||||
# append the global quality changes
|
# append the global quality changes
|
||||||
global_quality = quality_manager.findQualityByQualityType(quality_type, global_machine_definition, [material], global_quality = True)
|
global_quality = quality_manager.findQualityByQualityType(quality_type, global_machine_definition, [material], global_quality = "True")
|
||||||
|
|
||||||
# if there is not global quality but we're using a single extrusion machine, copy the quality of the first extruder - CURA-4482
|
# if there is not global quality but we're using a single extrusion machine, copy the quality of the first extruder - CURA-4482
|
||||||
if not global_quality and len(extruder_stacks) == 1:
|
if not global_quality and len(extruder_stacks) == 1:
|
||||||
global_quality = result[0]["quality_changes"]
|
global_quality = result[0]["quality"]
|
||||||
|
|
||||||
# if still no global quality changes are found we set it to empty (not supported)
|
# if still no global quality changes are found we set it to empty (not supported)
|
||||||
if not global_quality:
|
if not global_quality:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user