mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:46:05 +08:00
Bindings of inheritance icon now correctly update when switching between machines
CURA-2752
This commit is contained in:
parent
b381186331
commit
4a5d7cbc73
@ -208,12 +208,14 @@ Item {
|
|||||||
// But this will cause the binding to be re-evaluated when the enabled property changes.
|
// But this will cause the binding to be re-evaluated when the enabled property changes.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if(Cura.SettingInheritanceManager.settingsWithInheritanceWarning.length == 0)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
if(globalPropertyProvider.properties.limit_to_extruder == null || globalPropertyProvider.properties.limit_to_extruder == -1)
|
if(globalPropertyProvider.properties.limit_to_extruder == null || globalPropertyProvider.properties.limit_to_extruder == -1)
|
||||||
{
|
{
|
||||||
return Cura.SettingInheritanceManager.settingsWithInheritanceWarning.indexOf(definition.key) >= 0;
|
return Cura.SettingInheritanceManager.settingsWithInheritanceWarning.indexOf(definition.key) >= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
return Cura.SettingInheritanceManager.getOverridesForExtruder(definition.key, globalPropertyProvider.properties.limit_to_extruder).indexOf(definition.key) >= 0;
|
return Cura.SettingInheritanceManager.getOverridesForExtruder(definition.key, globalPropertyProvider.properties.limit_to_extruder).indexOf(definition.key) >= 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user