mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-03 01:04:35 +08:00
If a combination material does not like the setup, we now mark it in red.
CURA-2271
This commit is contained in:
parent
d68f6a4e9a
commit
ec587eb0dd
@ -232,6 +232,19 @@ Column
|
|||||||
text: Cura.MachineManager.activeMaterialName
|
text: Cura.MachineManager.activeMaterialName
|
||||||
tooltip: Cura.MachineManager.activeMaterialName
|
tooltip: Cura.MachineManager.activeMaterialName
|
||||||
visible: Cura.MachineManager.hasMaterials
|
visible: Cura.MachineManager.hasMaterials
|
||||||
|
property var valueError:
|
||||||
|
{
|
||||||
|
var data = Cura.ContainerManager.getContainerMetaDataEntry(Cura.MachineManager.activeMaterialId, "compatible")
|
||||||
|
print(data)
|
||||||
|
if(data == "" || data == "True")
|
||||||
|
{
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
if(data == "False")
|
||||||
|
{
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
}
|
||||||
enabled: !extrudersList.visible || base.currentExtruderIndex > -1
|
enabled: !extrudersList.visible || base.currentExtruderIndex > -1
|
||||||
|
|
||||||
height: UM.Theme.getSize("setting_control").height
|
height: UM.Theme.getSize("setting_control").height
|
||||||
|
Loading…
x
Reference in New Issue
Block a user