mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:49:00 +08:00
Do not only check if activeMaterialId is None, also check for empty
Fixes CURA-4065
This commit is contained in:
parent
22c1a118a8
commit
b839cb74f4
@ -282,7 +282,7 @@ class CuraContainerRegistry(ContainerRegistry):
|
||||
profile.setDefinition(self._activeQualityDefinition())
|
||||
if self._machineHasOwnMaterials():
|
||||
active_material_id = self._activeMaterialId()
|
||||
if active_material_id: # only update if there is an active material
|
||||
if active_material_id and active_material_id != "empty": # only update if there is an active material
|
||||
profile.addMetaDataEntry("material", active_material_id)
|
||||
quality_type_criteria["material"] = active_material_id
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user